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
Commit f34a29b
Browse filesBrowse the repository at this point in the historyBrowse files
Report null coalesce errors on the last line of the left operand
- `??` and `??=` errors used the start line of the whole expression, which is the first line of
the left operand. When the left operand spans several lines, the error landed above the
operator.
- The AST does not keep the operator token, so the error now uses the last line of the left
operand: the operator is on that line or below it, so a line that was already correct stays.
- When `??` starts its own line, the error is still one line above the operator.
0 commit comments