Misplaced documentation comment causes syntax error

Issue #131 resolved
Jesper Öqvist created an issue

ExtendJ 8.0.1-16-g930e00d Java SE 8

This test case causes the parser to generate a syntax error:

// A misplaced documentation comment does not cause a syntax error.
class Test {
  public static interface Listener {
    void m();

    /**
     * Misplaced documentation comment.
     * @param msg a message
     */
  }
}

Comments (1)

  1. Log in to comment