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
This issue was picked for the Scala Issue Spree of April 30th. @EugeneFlesselle,@mbovel and @nox213 will be working on it. If you have any insight into the issue or guidance on how to fix it, please leave it here.
Compiler version
Scala compiler version 3.3.1-RC1-bin-SNAPSHOT-git-4cb6ee6
Minimized code
Output
g
does not compile in Scala 2, but in Scala 3 is accepted, as though writtenA.synchronized
.The error on
f
is charming. I was expecting it to use(Predef: AnyRef).eq
and was hoping for a warning.Expectation
Error on
synchronized
. Warnings for accidental selections fromPredef
, as for top-level defs.The text was updated successfully, but these errors were encountered: