Skip to content

SSAValue exposed in error message #59048

@LilithHafner

Description

@LilithHafner

This error message shows an SSAValue instead of x. It also points to f.(x) when the .-= is also problematic (e.g. if it were .- there would be no error).

julia> a = f.(x) .-= 1
ERROR: syntax: invalid syntax "f.(SSAValue(4718))" around REPL[3]:1
Stacktrace:
 [1] top-level scope
   @ REPL[3]:1

Metadata

Metadata

Assignees

No one assigned

    Labels

    compiler:loweringSyntax lowering (compiler front end, 2nd stage)error messagesBetter, more actionable error messages

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions