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
... forces the info of the the package class symbol, including entering the members of the package.class. Again, we end up with two symbols representing the same entity which results in a different (albeit semantically equivalent) pickle. I'm pretty sure there is also a correctness bug here in that references to members of package.class that no longer in package.scala might not result in "no such symbol" errors.
The text was updated successfully, but these errors were encountered:
retronym
changed the title
Here's a variant in userland, where the package object does not participate in root imports.
Unstable compiler output depending on order of package.scala and client code that uses type aliased defined therein
Jul 22, 2020
Here's a variant in userland, where the package object does not participate in root imports.
When
th.scala
appears beforepackage.scala
, naming thePackageDef
inth.scala
with:... forces the info of the the package class symbol, including entering the members of the
package.class
. Again, we end up with two symbols representing the same entity which results in a different (albeit semantically equivalent) pickle. I'm pretty sure there is also a correctness bug here in that references to members ofpackage.class
that no longer inpackage.scala
might not result in "no such symbol" errors.Originally posted by @retronym in #12086 (comment)
The text was updated successfully, but these errors were encountered: