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 231613 - Mark occurrences doesn't work, when there is called method after new statement.
Summary: Mark occurrences doesn't work, when there is called method after new statement.
Status: NEW
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: 217992
  Show dependency tree
 
Reported: 2013-06-21 09:28 UTC by Petr Pisl
Modified: 2013-06-21 09:28 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 09:28:38 UTC
Simple case:

function create() {}

var Person = function() {};
Person.prototype.bar = function() {};
create();

// this is the line that triggers the failure
new Person().bar();