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 190519 - Refactor, Find Usage fail inside proc or lambda
Summary: Refactor, Find Usage fail inside proc or lambda
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: issues@ruby
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-22 11:59 UTC by djlewis
Modified: 2011-01-28 20:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description djlewis 2010-09-22 11:59:55 UTC
class Huh

  def initialize
    process_cmd = proc do |cmd, init, data|
      @current_folder = "lessgo"
    end
  end

  def hoh
    @curent_folder = "noway"
  end

end

Try to refactor/rename or find usages of @current_folder inside proc.  NB responds with the proc itself rather than the correct lines. Try to do likewise with the usage in hoh and it does not find the usage inside proc. Ditto with lambda instead of proc.