Community
Participate
Working Groups
I20060221-1300 class X { void foo() { int int; } } The error is: Syntax error on token "int", invalid VariableDeclarator The recovered AST is class X { void foo() { } } The last 'int' should be replaced with an 'Identifier' by the statements recovery.
Fixed and test added DietRecoveryTest#test114() Added the mapping VariableDeclarator -> 'Identifier' in grammar
Verified using I20060328-0010 for 3.2M6