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
class T { def f: Int = 10 } class B extends T { class C { B.super[T].f } new C } @main def Test = new B
Exception in thread "main" java.lang.VerifyError: Bad invokespecial instruction: current class isn't assignable to reference class. Exception Details: Location: B$C.<init>(LB;)V @22: invokespecial Reason: Error exists in the bytecode Bytecode: 0x0000000: 2bc7 000b bb00 0e59 b700 11bf 2a2b b500 0x0000010: 132a b700 142a b700 1a57 b1 Stackmap Table: same_frame(@12) at B.<init>(super2.scala:4) at super2$package$.Test(super2.scala:8) at Test.main(super2.scala:7)
Related bug: scala/bug#10290
The text was updated successfully, but these errors were encountered:
Fix scala#9341: add test
d116ab0
99773f6
bdaad47
c6694b6
1fbd26f
liufengyun
No branches or pull requests
Minimized code
Output
Expectation
Related bug: scala/bug#10290
The text was updated successfully, but these errors were encountered: