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
Don't emit line number for synthetic unit value (#18717)
Synthetic `()` values are added to blocks without an expression. Don't
emit a line number for them.
Implemented by checking the `SyntheticUnit` attachment. This seems
simpler than trying to control the position assigned to synthetic unit
trees, as they are created in many places.
Fixes#18320. Forward port of
scala/scala#10577
0 commit comments