This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Please try this function Test(){ this.attempt = 1; this.run = function(){}; } (new Test()).r // cc here => run is not offered, if I remove the braces new Test().r // cc here it works fine Product Version: NetBeans IDE Dev (Build web-main-10412-on-20130430) Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11 System: Linux version 3.2.0-40-generic-pae running on i386; UTF-8; en_US (nb)
Fixed in web-main: http://hg.netbeans.org/web-main/rev/de83e1f08b32
Integrated into 'main-golden', will be available in build *201306112301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/de83e1f08b32 User: Petr Pisl <ppisl@netbeans.org> Log: #229204 - Type of anonymous object closed in braces not resolved
Verified Product Version: NetBeans IDE Dev (Build 201306122301) Updates: Updates available Java: 1.7.0_25; Java HotSpot(TM) Client VM 23.25-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15 System: Linux version 3.2.0-45-generic-pae running on i386; UTF-8; en_US (nb)