Enum constants with class body can't have empty argument list

Issue #133 resolved
Jesper Öqvist created an issue

Extendj 8.0.1

An error in the enum parser makes ExtendJ not allow the following enum declaration:

// Enum constants can have a class body.
// .result=COMPILE_PASS
enum Test {
    void m() {

The parser expects a non-empty argument list and gives a syntax error on the RPAREN ()) token.

Comments (2)

  1. Log in to comment