Skip to content

Better error message for "undeclared identifier" #3911

Closed
@dom96

Description

@dom96

This error could be improved in many ways, one way that I think would help a lot is in the following case:

var FooBar = 5
echo(fooBar)

Instead of just

Error: undeclared identifier: 'foobar'

If an identifier with the same name but different case in the first letter exists, it would be nice to include . 'FooBar' is declared but remember that first letter is case sensitive.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions