Summary: | extract method: incorrect error message | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Adam Kiezun <akiezun> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | dirk_baeumer |
Version: | 2.0 | ||
Target Milestone: | 2.0 M1 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Adam Kiezun
2001-12-04 08:07:05 EST
I suspect this is because we are building the AST using the Java Model as a lookup environment. The Java model doesn't contain any constant definition so the AST can't correctly resolve it and produces an error. Philippe, do we have to move this error to flow analysis too, as we did with the switch statement ? Yes, this is a similar problem, and yes we could defer the error reporting. I'll take this one on our side. Fixed in latest |