microsoft / microsoft/powerquery-parser
[BUG] Quoted identifiers and unquoted identifiers sometimes parse differently
@JordanBoltonMN is already working on this.
Since Jun 20, 2023.
- Dominant language
- TypeScript
- Stars
- 137
- Forks
- 34
- Avg merge
- 50m
- Merged PRs (30d)
- 1
Description
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)".
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.