You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Parens must be kept around sequential exprs with semicolons in record field assignments #17826
letB=2// Analyzer suggests removing parens,// but that changes the entire parsing of the expression…letfoo={| A =((); B =3)|}// …or causes a parsing error.letbar={| A =(();())|}
Expected behavior
SynExpr.shouldBeParenthesizedInContext should return true anywhere the semicolon is required for the sequential expression to compile:
One-liner sequential exprs
letB=2letfoo={| A =((); B =3)|}
Indentation-sensitive/offsides sequential exprs
letB=2letfoo={| A =(();
B =2)|}
Actual behavior
It returns false, and the analyzer suggests removing unnecessary parentheses.
Activity
Fix shouldBeParenthesizedInContext for Sequential in record fields (#…
[automated] Merge branch 'main' => 'feature/net11-scouting' (#20039)
[feature/net11-scouting] Update dependencies from dotnet/arcade (#20034)