Skip to content

Unhelpful error for undefined names #1179

Closed
@nex3

Description

@nex3

When a variable or class name isn't found, the VM gives an "Unexpected primary symbol" error, which is very unhelpful. Better would be something like "Undefined symbol" or something like that.

"Unexpected primary symbol" also pops up when trying to access a private name across library boundaries; ideally, that would be mentioned in the error as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions