Summary: | ast: (Super)ConstructorInvocation should be wrapped in ExpressionStatement | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Adam Kiezun <akiezun> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.0 | ||
Target Milestone: | 2.1 M1 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Adam Kiezun
2002-09-12 05:50:35 EDT
SuperConstructorInvocation and ConstructorInvocation are subclasses of Statement. Therefore they don't need to be wrapped in an ExpressionStatement. The bug is that the semi-colon is not included in the position, but not that it is not wrapped in an ExpressionStatement. i got fooled by the javadoc - it should mention the semicolon too We need to fix the javadoc as well. It should not state that this is an expression, but it is a statement. As soon as the new javadoc is released, I release a fix for it. Fixed and released in 2.1 stream. Verified. Regression test added (test0402). |