Projects
Home     Blog     Install     New Ticket     View Tickets     Browse Source

Ticket #50 (closed defect: fixed)

Opened 9 months ago

Last modified 8 months ago

Nested methods don't work

Reported by: insanitarian@… Owned by: lsansonetti@…
Priority: minor Milestone: MacRuby 0.2
Component: MacRuby Keywords: nested
Cc:

Description

Nested methods in MacRuby don't seem to work; therefore, incompatibilities with porting from Ruby/RubyCocoa arise.

Examples:

$ irb

:> def foo

:> def bar; 42; end

:> bar

:> end

=> nil

:> foo

=> 42

http://pasternak.superalloy.nl/pastes/329?theme=dawn

Change History

Changed 8 months ago by lsansonetti@…

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to MacRuby 0.2

Fixed in trunk/r204.

Note: See TracTickets for help on using tickets.