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
Trait super[Object] crasher #4704
Labels
Milestone
Comments
Imported From: https://issues.scala-lang.org/browse/SI-4704?orig=1 |
@paulp said: trait MM {
protected def method = "bip"
}
trait NN {
protected def method = "bop"
}
trait OOOOO extends MM with NN {
override protected def method = super[MM].method + super[NN].method
override def hashCode = super[MM].hashCode + super[NN].hashCode
} |
@VladUreche said: trait IterableLike[A]
trait SeqLike[A] extends IterableLike[A] {
override def toString = super[IterableLike].toString
} History: miniboxing/miniboxing-plugin#40 |
fixed since Scala 2.12.x? 🤔
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I try to compile the following code:
I get a compiler crash with the following stacktrace:
The text was updated successfully, but these errors were encountered: