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 254189 - Method name is marked as global
Summary: Method name is marked as global
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-07 08:10 UTC by Petr Pisl
Modified: 2016-08-09 01:59 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 Petr Pisl 2015-08-07 08:10:07 UTC
Have a code: 

var obj = new function(){
    this.propertyA = "A";

    this.methodA = function(){

    };

    this.methodB = methodB;   // <- the methodB is marked as global
    function methodB(){

    }
}
Comment 1 Petr Pisl 2016-08-08 12:06:55 UTC
Fixed in web-main.
Comment 2 Quality Engineering 2016-08-09 01:59:33 UTC
Integrated into 'main-silver', will be available in build *201608090002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/0d88c8c8ef62
User: Petr Pisl <ppisl@netbeans.org>
Log: #254189 - Method name is marked as global