-
Notifications
You must be signed in to change notification settings - Fork 853
Wrong let expression parsing #7741
Copy link
Copy link
Open
Labels
Area-Compiler-Syntaxlexfilter, indentation and parsinglexfilter, indentation and parsingBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.(Internal MS Team use only) Describes an issue with moderate impact on existing code.
Milestone
Metadata
Metadata
Labels
Area-Compiler-Syntaxlexfilter, indentation and parsinglexfilter, indentation and parsingBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.(Internal MS Team use only) Describes an issue with moderate impact on existing code.
Type
Fields
Give feedbackNo fields configured for Bug.
Projects
Status
New
The contents of
doin the following code should be parsed as a sequence of let expression and x, but it's parsed as let expression in sequence of the sum and x.In addition to the unexpected tree form it also creates a wrong scope for
x.AST viewer