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
3.6.3-RC2, 3.6.4-RC1-bin-20241231-1f0c576-NIGHTLY
trait I0 { def func0(): Unit } trait I1[T] extends I0 { override def func0(): Unit = {} } trait I2 extends I1[I2], I0 { } open class A0 extends I2 { }
// FILE: A1.java public abstract class A1 extends A0 {}
A1.java:3: error: I1 cannot be inherited with different arguments: <> and <I2> public abstract class A1 extends A0 { ^ 1 error
compile passed.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Compiler version
3.6.3-RC2, 3.6.4-RC1-bin-20241231-1f0c576-NIGHTLY
Minimized code
Output
A1.java:3: error: I1 cannot be inherited with different arguments: <> and <I2> public abstract class A1 extends A0 { ^ 1 error
Expectation
compile passed.
The text was updated successfully, but these errors were encountered: