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.
Steps to reproduce: - Copy the code to the editor: ----------------------------------------------- class A { public var name: String; } var a = A{ name: "Hello World" }; println("name: {a.name}"); ----------------------------------------------- - Rename the 'name' attribute to 'name2' - Build the code Main.fx:15: cannot find symbol symbol : variable name location: class javafxapplication3.Main.A name: "Hello World" Main.fx:18: cannot find symbol symbol : variable name location: class javafxapplication3.Main.A println("name: {a.name}"); 2 errors
Build netbeans-6.8beta-200909281634-javafx-full.zip Product Version = NetBeans IDE 6.8 Beta (Build 200909281634) (#066b555e5ecf) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02; Sun Microsystems Inc.
fixed in http://hg.netbeans.org/javafx/rev/0132b76a8d5e
verified in netbeans-trunk-nightly-200910030241-javafx-full.zip