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
When compiled with -source 3.2-migration -rewrite the result is
val (_: Int|_: AnyRef) =???:AnyRef:@unchecked
which is syntactically invalid.
Output
--Error: test.scala:1:39------------------------------------------------------1|val (_: Int|_: AnyRef) =???:AnyRef:@unchecked
|^| end of toplevel definition expected but ':' found
Expectation
Rewrite should add parentheses as required.
The text was updated successfully, but these errors were encountered:
Compiler version
3.2.0-RC1-bin-20220527-001bfc3-NIGHTLY
Minimized code
When compiled with
-source 3.2-migration -rewrite
the result iswhich is syntactically invalid.
Output
Expectation
Rewrite should add parentheses as required.
The text was updated successfully, but these errors were encountered: