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
package api { class Trees { type Symbol <: SymbolApi trait SymbolApi trait TreeApi { def symbol: SymbolApi } trait SymTreeApi extends TreeApi { def symbol: Symbol } } } package internal { class Trees extends api.Trees { class Symbol extends SymbolApi abstract class Tree extends TreeApi { final def symbol: Symbol = null } class SymTree extends Tree with SymTreeApi } } object Test extends App { val u = new internal.Trees {} new u.SymTree() // java.lang.VerifyError: class internal.Trees$SymTree overrides final method symbol.()Lapi/Trees$SymbolApi; }
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-8592?orig=1 Reporter: @retronym Affected Versions: 2.11.0
Sorry, something went wrong.
@paulp said: Previously reported as #6544, but I had no self-contained reproduction.
@retronym said: "self contained reproduction" are my middle names!
@retronym said: Hah, you were trying exactly the same patch, too!
No branches or pull requests
The text was updated successfully, but these errors were encountered: