Summary: | Method declaration not found in field initializer | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Jerome Lanneluc <jerome_lanneluc> |
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.0 | ||
Target Milestone: | 2.1 M2 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Jerome Lanneluc
2002-10-03 04:51:18 EDT
Removing the declaration of bar() makes it work. The HasLocalTypeMASK was not set on the field declaration and thus the "foo" reference was not added to the index. This was due to a bug in the Parser that used to mark only method declarations and type declarations in Parser.markCurrentMethodWithLocalType(). Fixed this method and renamed it to markEnclosingMemberWithLocalType(). Verified. |