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 - Unable to refactor an argument in a function type
Summary: Unable to refactor an argument in a function type
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: J Bachorik
Depends on:
Blocks: 173077
  Show dependency tree
Reported: 2009-12-14 07:17 UTC by Alexandr Scherbatiy
Modified: 2011-05-16 13:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

JavaFX Main file (933 bytes, application/octet-stream)
2009-12-15 04:39 UTC, Alexandr Scherbatiy

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2009-12-14 07:17:39 UTC
NetBeans-JavaFX-Soma: #65

  Product Version         = NetBeans IDE 6.8 RC1 (Build 200911252200)
  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 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.