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 217078 - Incorrect Duplicate name of property hint
Summary: Incorrect Duplicate name of property hint
Status: RESOLVED WORKSFORME
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-20 06:17 UTC by Vladimir Riha
Modified: 2012-11-27 11:16 UTC (History)
1 user (show)

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 Vladimir Riha 2012-08-20 06:17:02 UTC
Sample code:

var Dog = {
    get years() {return this.old;},
    set years(count){this.old = count + 1;} 
};

Editor complains about duplicate name of property for: years, old and count



Product Version: NetBeans IDE Dev (Build 201208200001)
Java: 1.7.0_06; Java HotSpot(TM) Client VM 23.2-b09
System: Linux version 3.2.0-29-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Vladimir Riha 2012-11-20 20:34:47 UTC
Works fine now in

Product Version: NetBeans IDE Dev (Build web-main-9272-on-20121120)
Java: 1.7.0; Java HotSpot(TM) 64-Bit Server VM 21.0-b17
Runtime: Java(TM) SE Runtime Environment 1.7.0-b147
System: Linux version 3.5.0-18-generic running on amd64; UTF-8; en_US (nb)