Community
Participate
Working Groups
public class Test { // private void foo() { Object foo = new Object() { private void foo() { for (Object o : new Object[0]) { o. } } }; // } }
Accidentally pressed enter submitting the incomplete report, here comes the rest of the description: Content assitst doesn't give any suggestions for the incomplete "o." variable. "o cannot be resolved" is printed in the status bar. If the comments are removed, making foo a local variable instead of an instance variable the expected suggestions are displayed when ctrl + space is pressed.
*** This bug has been marked as a duplicate of bug 193045 ***
Verified for 3.4M7 using I20080427-2000.