Community
Participate
Working Groups
The following gives no completion: [public class X { int field; X(int field) { this.field = field; } int bar() { return 1; } void foo() { int n = (new X(bar) { }).f |<-------------------------------- code assist here } }] whereas the following gives a completion on field: [public class X { int field; X(int field) { this.field = field; } int bar() { return 1; } void foo() { int n = (new X(bar() { }).f |<-------------------------------- code assist here } }] The only difference is the argument to the constructor X is "bar" in the first case, and it is "bar(" in the second case. NOTES:
PRODUCT VERSION: SDK 102
Closed.