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
References #18020, didn't actually fix that, because it addressed
aspects of using `_root_` in definitions. Adding more details to that
ticket.
Fixes#17757Fixes#18050
Includes the code in scala/bug#12508
Uh oh!
There was an error while loading. Please reload this page.
reproduction steps
Scala 2.13.7 and 3 differ as to whether these packagings are erroneous:
Scala 2 is definitely wrong in rejecting
_root_
, as the spec is now clear that only the selection_root_.x
makes_root_
mean the root package.Once
_root_
is defined, possibly the second packaging should putp.C
in it. Scala 2 warns about such a case:Scala 3 compiles the first example but not the second.
problem
The versions ought to agree.
The text was updated successfully, but these errors were encountered: