- edited description
Enum constants with class body can't have empty argument list
Issue #133
resolved
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 {
MY_CONSTANT() {
void m() {
}
}
}
The parser expects a non-empty argument list and gives a syntax error on the RPAREN
()
) token.
Comments (2)
-
reporter -
reporter - changed status to resolved
Fix enum parsing error
Allow enum constant declarations with a class body to have an empty argument list.
fixes
#133(bitbucket)→ <<cset 152b130b1726>>
- Log in to comment