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.
function A() { this.x = 1; this.x = 1; } A.prototype.inc = function() { this.x += 1; // <- here is the wrong coloring. The x field should be green }
Integrated into 'main-golden', will be available in build *201207110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/1d28a5980e83 User: Petr Pisl <ppisl@netbeans.org> Log: #215354 - Wrong coloring after this. in a function defined via prototype This is not complete solution. There should be checked whether the property is not defined directly in prototype.
Forgot to mark it as fixed.
verified, thanks Product Version: NetBeans IDE Dev (Build 20120713-14c670351972) Java: 1.7.0_06-ea; Java HotSpot(TM) Client VM 23.2-b08 System: Linux version 3.0.0-21-generic-pae running on i386; UTF-8; en_US (nb)