powerquery-parser icon indicating copy to clipboard operation
powerquery-parser copied to clipboard

[BUG] Invalid identifier allowed as record field name

Open bgribaudo opened this issue 2 years ago • 1 comments

Expected behavior To align with Query Editor's behavior, in [1.=true], "1." should be rejected as an invalid identifier.

image

Actual behavior The parser (as tested in VSCode using the Power Query / M Language extension) accepts the above as valid M.

Additional context https://github.com/MicrosoftDocs/powerquery-docs/issues/30 discusses the grammar for a generalized identifier.

bgribaudo avatar Jul 20 '21 19:07 bgribaudo

Related to issue #269

JordanBoltonMN avatar Aug 19 '21 19:08 JordanBoltonMN