We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Version: 1.12
Reproducer: https://scastie.scala-lang.org/lZwX8BQSThWjL8sEAnSPnw
The text was updated successfully, but these errors were encountered:
Seems to be a problem with a combination of classes defined in traits + default field values
Sorry, something went wrong.
Yes, but it works if you put derivation inside the companion.
trait X { case class F(i: Int = 5) object F { implicit def tc: TC[F] = TC.derive[F] } }
Yes, but it works if you put derivation inside the companion. trait X { case class F(i: Int = 5) object F { implicit def tc: TC[F] = TC.derive[F] } }
Lifesaver! Thanks for the workaround.
No branches or pull requests
Version: 1.12
Reproducer: https://scastie.scala-lang.org/lZwX8BQSThWjL8sEAnSPnw
The text was updated successfully, but these errors were encountered: