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
Works for 3.0.0
Gives an error for 3.0.1, ..., 3.2.0-RC1, 3.2.1-RC1-bin-20220712-7e20b81-NIGHTLY
Minimized code
deffun= {
valstart=""valend=""
start +end
}
Output
From 3.1.3:
[error] ./main.scala:6:10: expression expected but end of statement found
[error] start +
[error] ^
Until 3.1.2:
[error] ./main.scala:6:3: postfix operator `+` needs to be enabled
[error] by making the implicit value scala.language.postfixOps visible.
[error] ----
[error] This can be achieved by adding the importclause 'importscala.language.postfixOps'
[error] or by setting the compiler option -language:postfixOps.
[error] See the Scaladocfor value scala.language.postfixOps for a discussion
[error] why the feature needs to be explicitly enabled.
[error] start +
[error] ^^^^^
Expectation
Should compile correctly, parse the expression in block to start.+(end)