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
…fix expression. (#20043)
Tests added for:
* Original cast as per the ticket should not be changed
* Similar match statement that should update
* Code blocks in this position, as opposed to a partial function, cant
update here
* Simple change that should apply but in a code position where the op
stack is nonempty
* Equivalent code, but passing in the partial function as a single
parameter, again, not updating
Fixes#20002
Compiler version
3..4.1-RC2
Minimized code
Use
-indent -rewrite
on following code:Output
Compiling this results in following error:
Expectation
The output of "-indent", "-rewrite" should compile without errors
Note
This pattern is common when using Scala Swing.
The text was updated successfully, but these errors were encountered: