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
@unkarjedy did the output look different in Scala2? I don't think there's much we can do about that particular part, considering that one can define multiple vals in one REPL input...
I recently revisited a closed scala 2 ticket about order of REPL output, which at least demonstrates that there are differing expectations. scala/bug#10893
Compiler version
3.0.0-RC2-bin-20210317-758782a-NIGHTLY
Minimized code
Output
Expectation
According to:
http://dotty.epfl.ch/docs/reference/other-new-features/indentation.html#optional-braces
So the code should compile, or the reference should be adjusted.
The text was updated successfully, but these errors were encountered: