Skip to content

wrong line number when line ends with a semi-colon #517

@ArbitRandomUser

Description

@ArbitRandomUser

the issue is basically the discrepency in reporting the line numbers for these two inputs :

julia> a=1
       b=c
ERROR: UndefVarError: `c` not defined
Stacktrace:
 [1] top-level scope
   @ REPL[1]:2

julia> a=1
       b=c;
ERROR: UndefVarError: `c` not defined
Stacktrace:
 [1] top-level scope
   @ REPL[2]:1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions