Summary: | problem range includes parenthesis for warning on expression | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Tom Seidel <tom.seidel> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | minor | ||
Priority: | P3 | CC: | martinae |
Version: | 3.1.2 | ||
Target Milestone: | 3.3 M6 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Tom Seidel
2006-05-17 10:54:56 EDT
Reproduced in RC4. - set 'unqualified access' to warning - no quick fix for (memberVariable); Problem is that the compiler includes the brackets in the problem range for 'unqualified' access. We could implement a workaround for quick fix, but it would be more correct to report the warning only in the name. There is no parentherized expression in the compiler ast nodes. This is unlikely to be changed for 3.2. I would do it for 3.3. Philippe, 3.3 or 3.2.1? 3.3 I think UI may workaround it for 3.2.1 if necessary. Released for 3.3M6. Regression tests added in org.eclipse.jdt.core.tests.compiler.regression.FieldAccessTest#test005/006 Verified for 3.3 M6 using build I20070320-0010 |