Skip to content

Investigate lineOffset argument to compile; figure out if it is implemented correctly #1139

Open

Description

@cspotcode

Our compile function accepts a third argument, lineOffset

The REPL passes a value, but the implementation ignores that argument.

Should we be using it for something? Is it meant to modify error line numbers so that REPL errors are always starting at line 1?

I suspect this may be something that I broke, erroneously assuming that it was not important.

@blakeembrey do you remember?

Activity

  1. blakeembrey commented on Nov 1, 2020

    @blakeembrey
    Member

    You're correct for the intended usage, though I don't think you broke it. I feel like I broke it when trying to refactor for TypeScript incremental compilation or something. Not sure how easy it is to add back everywhere.

  2. added this to the next milestone on May 15, 2021
  3. modified the milestones: 10.2.0, next on Aug 8, 2021
  4. modified the milestones: 10.5.0, next on Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions