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 - Strange mark occurrences when an object is called Arguments
Summary: Strange mark occurrences when an object is called Arguments
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-21 10:54 UTC by Petr Pisl
Modified: 2016-08-11 01:56 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 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