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

Summary: Mark occurrences doesn't work, when there is called method after new statement.
Product: javascript Reporter: Petr Pisl <ppisl>
Component: EditorAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 217992    

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();