-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Mirror.SumOf fails to summon in the context of multiple files #9069
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Same issue as #9064 ? |
Could be. I discovered it in upickle, and it also kept blowing up with |
odersky
added a commit
to dotty-staging/dotty
that referenced
this issue
May 30, 2020
Complete children of sealed classes or traits when the parent class is completed.
odersky
added a commit
to dotty-staging/dotty
that referenced
this issue
May 30, 2020
Complete children of sealed classes or traits when the parent class is completed.
odersky
added a commit
to dotty-staging/dotty
that referenced
this issue
May 30, 2020
Complete all possible children of sealed classes or traits before first querying with `children`. This way we make they register themselves with Child annotations in the parent class.
odersky
added a commit
to dotty-staging/dotty
that referenced
this issue
May 30, 2020
Complete all possible children of sealed classes or traits before first querying with `children`. This way we make they register themselves with Child annotations in the parent class.
odersky
added a commit
to dotty-staging/dotty
that referenced
this issue
May 30, 2020
Complete all possible children of sealed classes or traits before first querying with `children`. This way we make they register themselves with Child annotations in the parent class.
anatoliykmetyuk
added a commit
that referenced
this issue
Jun 2, 2020
Fix #9069: Complete children of sealed classes early
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Test.scala:
Wrapper.scala:
Compile together while specifying
Test.scala
first in the compiler command:dotty-bootstrapped/dotc -d out Test.scala Wrapper.scala
.Output:
If you flip the order of the files in the command (
dotty-bootstrapped/dotc -d out Wrapper.scala Test.scala
) or compile them as a single file:The compilation succeeds.
You can reproduce the issue with Dotty Issues Workspace using the following
launch.iss
script:launch.iss
/cc @milessabin
The text was updated successfully, but these errors were encountered: