Community
Participate
Working Groups
Example: struct S { int S; }; void tint(int); void test() { S s; tint(s.S); // Problem binidng here. }
*** Bug 412168 has been marked as a duplicate of this bug. ***
The problem was that CPPClassScope.getBindings() was exiting early and just returning the class name if the name being looked up was equal to the class name, rather than going on to look for members with that name. Patch: https://git.eclipse.org/r/20147
This was fixed in http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=628e0329b259dfd307cd87dd0cf807b06dd04288.
Fixed in 8.3.