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 a:Object; public function show(){}; public function show(a:A){ a.show(); } } ----------------------------------------------------- - Refactor->rename the 'a' attribute of the 'A' class to 'b' The result is: ----------------------------------------------------- class A{ public var b:Object; public function show(){}; public function show(a:A){ b.b(); } } ----------------------------------------------------- Main.fx:17: cannot find symbol symbol : function b() location: class java.lang.Object b.b(); 1 error
fixed in http://hg.netbeans.org/javafx/rev/808ffe3fa608
Now the attribute refactoring also renames the function argument name. from 'a' to 'b': ---------------------------------- class A{ public var b:Object; public function show(){}; public function show(b:A){ // <- Argument should have 'a' name b.show(); } } ---------------------------------- The function argument name should not be changed in this case.
fixed (now for real) as a side-effect of http://hg.netbeans.org/javafx/rev/0132b76a8d5e
verified in netbeans-trunk-nightly-200910030241-javafx-full.zip