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.
NetBeans-JavaFX-Soma: #143 Product Version = NetBeans IDE Dev (Build 201002040200) (#dc1d49e38aaa) 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. Steps to reproduce: - Create a JavaFX project - Create 'B' JavaFX class: --------------------------------------------- package javafxapplication6; public class B { public var name = "B"; public function f() { println("H"); } } --------------------------------------------- - Create 'Main' JavaFX file: --------------------------------------------- package javafxapplication6; var b = B{ name: "B" } --------------------------------------------- - Refactor->move the 'B' class to 'b' package The Main class becomes: --------------------------------------------- import b.B; package javafxapplication6; var b = B{ name: "B" } --------------------------------------------- JavaFXApplication6\src\javafxapplication6\Main.fx:2: Sorry, I was trying to understand the script contents but I got confused when I saw 'javafxapplication6' which is an identifier. package javafxapplication6; JavaFXApplication6\src\javafxapplication6\Main.fx:2: You have forgotten the ';', which is needed to separate one expression from the next. package javafxapplication6; 2 errors
fixed in http://hg.netbeans.org/javafx/rev/303fa871799b
verified in NetBeans-JavaFX-Soma: #147