Summary: | [AST]Some malformed MethodDeclaration, their Block is null, but they actually have Block | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | supgenius <supgenius.tw> |
Component: | Core | Assignee: | David Audel <david_audel> |
Status: | VERIFIED WORKSFORME | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | jerome_lanneluc, Olivier_Thomann |
Version: | 3.2.2 | ||
Target Milestone: | 3.4 M6 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
supgenius
2008-01-13 03:15:18 EST
If you enable the statement recovery, you get a body, but it is empty. (In reply to comment #1) > If you enable the statement recovery, you get a body, but it is empty. I set ASTParser.setStatementsRecovery(true), but the result was the same. It's seems that those three types of syntax error statement can not be recoverd. This bug is already fixed in the 3.4 stream. I close this bug as WORKSFORME. I added some regression tests: ASTConverterBugsTest#testBug215137a() -> testBug215137d() Verified for 3.4M6 using I20080325-0100 |