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
AbstractMethodError with vars implementing trait member #6387
Comments
Imported From: https://issues.scala-lang.org/browse/SI-6387?orig=1 |
@jrudolph said: public final class Main$$anon$1 implements A {
public long Main$$anon$$foo();
public final void Main$$anon$$foo_$eq(long);
public Main$$anon$1();
} Under the circumstances from above foo's name gets mangled. |
@vigdorchik said: |
@JamesIry said: |
@adriaanm said: |
We recently had this problem with spray:
will throw
Important things here:
The same behavior can be observed in 2.8.2, 2.9.2, and 2.10.0-M7.
A workaround is not to implement A.foo directly with a var but use an auxiliary var and implement foo separately.
The text was updated successfully, but these errors were encountered: