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.
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)
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)