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.

Bug 178595

Summary: Unable to refactor an argument in a function type
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: UnsupportedAssignee: J Bachorik <yardus>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
URL: http://javafx-jira.kenai.com/browse/JFXC-3829
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 173077    
Attachments: JavaFX Main file

Description Alexandr Scherbatiy 2009-12-14 07:17:39 UTC
NetBeans-JavaFX-Soma: #65

  Product Version         = NetBeans IDE 6.8 RC1 (Build 200911252200)
(#3c4d4f8d3d55)
  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:

- Copy the attached code to the editor
- Go to the 'STreeNode' class, 'handle' variable
----------------------------------------------------------------------
    public var handle: function(handler: function(value: Object)) = 
                            function(handler: function(value: Object)) { ... }
----------------------------------------------------------------------

- Refactor->Rename the 'value' argument in the function type: 
       ' function(handler: function(value: Object))'

The Rename dialog shows 'handle' name instead of 'value'
Comment 1 J Bachorik 2009-12-15 04:20:01 UTC
The javafxc compiler doesn't generate any info about the variables in nested function types. Filed http://javafx-jira.kenai.com/browse/JFXC-3829 for javafxc
Comment 2 Alexandr Scherbatiy 2009-12-15 04:39:31 UTC
Created attachment 92599 [details]
JavaFX Main file
Comment 3 David Strupl 2011-05-16 13:50:28 UTC
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.