diagnostics when parsing { {10} - 1 }
is confusing
#88701
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code:
The current output is:
Ideally this would give the same diagnostics as
{10} + 1
gives:The text was updated successfully, but these errors were encountered: