Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.0m1
-
Fix Version/s: 2.6.0.Release
-
Component/s: Parser
-
Labels:None
-
Number of attachments :
Description
Here are (what I deem to be) the most important areas for parser recovery. I consider these the most important because I hit them the most myself when editing groovy code.
1. Missing name and parends in new expression:
"new "
and
"new Foo"
2. Missing open close brackets:
class F
and
class F {
int y() {
}
3. Missing open close parens:
"for "
and
"for ( "
I would say that #1 is currently the most important because it causes import statements to be lost when performing content assist to generate method declaration stubs. So, if you were to focus on one of these, #1 would give you the most bang per buck.
Note that these are still parsing errors, but they should not cause the parser to halt.
Issue Links
- is depended upon by
-
GRECLIPSE-268
Run As options missing from menu for script without main method
-
- is related to
-
GRECLIPSE-581
Import statement added above package declaration
-
This bug is getting more critical as we rely more and more on Groovy functionality and JDT reliance is removed. Bumping up the priority.