Skip to content

[BUG] Quoted identifiers and unquoted identifiers sometimes parse differently #370

Open
@CurtHagenlocher

Description

@CurtHagenlocher

Expected behavior
A quoted reference to an identifier which was defined as unquoted should be recognized as the same.

Actual behavior
If you define an identifier without quotes and then reference it using the quoted form you get an error.

To Reproduce

shared SomeValue = 1;
shared AnotherValue = #"SomeValue";

In the editor, #"SomeValue" gets a red squiggle and a tooltip of "Cannot find the name '#"SomeValue"', did you mean 'SomeValue'? powerquery(Error.UnknownIdentifier)".

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions