Community
Participate
Working Groups
See attached java source file. Code completion on the field fSomeField doesn't work. If I moved the field declaration to the top of the class, it works. I noticed this on M6. Just tried the latest working Windows integration build (eclipse-SDK-I20100406-1034-win32.zip) and it's broken there, too.
Created attachment 165844 [details] Demo source file
Ayushman, please investigate.
John, I could not reproduce the problem on HEAD. I get the expected completion at the commented location. I think this problem is similar to the one fixed along with bug 308980, since it has both a non-array field with an array initializer and an anonymous class. Can you download the latest build and verify? Thanks!
(In reply to comment #3) > John, I could not reproduce the problem on HEAD. I get the expected completion > at the commented location. > > I think this problem is similar to the one fixed along with bug 308980, since > it has both a non-array field with an array initializer and an anonymous class. > Can you download the latest build and verify? Thanks! Indeed it is fixed in HEAD. Jeesh. This is the second time in the last six months that I entered a bug against the platform only to find out that it had been fixed very recently. I need to improve my timing and save myself some time :-) Thanks!
*** This bug has been marked as a duplicate of bug 308980 ***