We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Latest version tested is 3.1.2-RC1-bin-20211102-82172ed-NIGHTLY
import scala.deriving.Mirror // Works: sealed trait HasFoo { sealed trait Foo; case object B extends Foo; summon[Mirror.SumOf[Foo]] } // Doesn't work: final class UsesFoo extends HasFoo { summon[Mirror.SumOf[Foo]] }
no implicit argument of type deriving.Mirror.SumOf[UsesFoo.this.Foo] was found for parameter x of method summon in object Predef
It should derive the mirror just fine.
The text was updated successfully, but these errors were encountered:
bishabosha
Successfully merging a pull request may close this issue.
Compiler version
Latest version tested is 3.1.2-RC1-bin-20211102-82172ed-NIGHTLY
Minimized code
Output
Expectation
It should derive the mirror just fine.
The text was updated successfully, but these errors were encountered: