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 253155 - Mark coccurrences doesn't mark for properties of anonymous object returned from a function
Summary: Mark coccurrences doesn't mark for properties of anonymous object returned fr...
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-24 11:38 UTC by Petr Pisl
Modified: 2015-06-24 11:38 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 2015-06-24 11:38:58 UTC
Have a code: 
var test = {};

/**
 * @private
 * 
 */
test.prototype.getTest = function() {
    return {property1 : {aaa: 0, abb: "ahoj"},
            method2 : function () {}};
};

test.prototype.run = function() {
    var foo = this.getTest().property1.aaa;
};


On the line "var foo = this.getTest().property1.aaa;" the mark occurrences doesn't work for property1 and aaa identifier.