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.

Bug 229204 - Type of anonymous object closed in braces not resolved
Summary: Type of anonymous object closed in braces not resolved
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: PC Linux
: P4 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-30 11:22 UTC by Vladimir Riha
Modified: 2013-06-13 10:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2013-04-30 11:22:05 UTC
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)
Comment 1 Petr Pisl 2013-06-11 08:42:50 UTC
Fixed in web-main:
http://hg.netbeans.org/web-main/rev/de83e1f08b32
Comment 2 Quality Engineering 2013-06-12 02:01:26 UTC
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
Comment 3 Vladimir Riha 2013-06-13 10:37:16 UTC
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)