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
2|end f
|^^^|postfix operator `f` needs to be enabled
|by making the implicit value scala.language.postfixOps visible.
|----|This can be achieved by adding the importclause 'importscala.language.postfixOps'
|or by setting the compiler option -language:postfixOps.
|See the Scaladocfor value scala.language.postfixOps for a discussion
|why the feature needs to be explicitly enabled.
Expectation
Should compile or should have a better error message.
It feels like it should behave the same as
deff:Unit= {
}
The text was updated successfully, but these errors were encountered:
Compiler version
3.0.0-RC2
Minimized code
Output
Expectation
Should compile or should have a better error message.
It feels like it should behave the same as
The text was updated successfully, but these errors were encountered: