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 198431 - Function becomes green when used in assignment
Summary: Function becomes green when used in assignment
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.0
Hardware: PC Windows Vista
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-08 12:39 UTC by bht
Modified: 2012-09-25 02:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Testcase (144 bytes, text/x-c)
2011-05-08 12:39 UTC, bht
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bht 2011-05-08 12:39:56 UTC
Created attachment 108177 [details]
Testcase

function test(){
    
    function doit(){
    }

    doit();// Becomes green if statement below is added
    this.doitPublic = doit;

}
Comment 1 Petr Pisl 2011-10-04 13:17:20 UTC
Reproducible. Problem in semantic coloring.
Comment 2 Petr Pisl 2012-09-21 12:54:22 UTC
Works correctly in the new js editor. Adding tests.
Comment 3 Quality Engineering 2012-09-25 02:17:54 UTC
Integrated into 'main-golden', will be available in build *201209250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/d91a4c2e19e0
User: Petr Pisl <ppisl@netbeans.org>
Log: #198431 - Function becomes green when used in assignment