Interfaces with default or static methods in aspects
Issue #320
resolved
Currently, it does not work to define an interface with a default or static method in an aspect. For example, the following does not work:
aspect A {
interface MyInterface {
public default int f() {
return 0;
}
}
}
When building you get: unexpected token "default":
Comments (2)
-
-
- changed status to resolved
- Log in to comment
Added a test for static interface methods to JastAdd-test: https://bitbucket.org/jastadd/jastadd-test/commits/d52e7fad88cff8a9d659c3ba96b366998148d35f