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: - Create a JavaFX Script file: ----------------------------------------------- var add = function (x:Number, y:Number):Number { return x + y; } java.lang.System.out.println(""); ----------------------------------------------- - Set a breakpoint to the last line - Debug the file - Open the Local Variables window The 'add' variable has 'Main$1' type instead of 'function(x:Number, y:Number):Number'
It is not a defect, This statement is compiled to the following class 'Main$1', so that's why it has such type.
Closing all bugs filed against JavaFX 1.x as wontfix. We will support JavaFX 2.0 - please keep opened only bugs against the new release. Thanks.