Interfaces with default or static methods in aspects

Create issue
Issue #320 resolved
Joachim Wedin created an issue

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)

  1. Log in to comment