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 231627

Summary: Strange mark occurrences when an object is called Arguments
Product: javascript Reporter: Petr Pisl <ppisl>
Component: EditorAssignee: Petr Pisl <ppisl>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Petr Pisl 2013-06-21 10:54:48 UTC
Have a code:

function test(){

}

var Arguments = {};

Arguments.prototype.length = new Number();

and place the cursor on Arguments. The Number and the test() function are marked as well.
Comment 1 Petr Pisl 2013-08-19 12:37:44 UTC
The problem is that Arguments is also type of arguments param of a function.
Comment 2 Petr Pisl 2016-08-10 08:17:54 UTC
Fixed in web-main.
Comment 3 Quality Engineering 2016-08-11 01:56:02 UTC
Integrated into 'main-silver', will be available in build *201608110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/a79e635ecd83
User: Petr Pisl <ppisl@netbeans.org>
Log: #231627 - Strange mark occurrences when an object is called Arguments