[MacRuby] #1224: "super" does not pass block to super class's method.
#1224: "super" does not pass block to super class's method. ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Test Script: {{{ #!ruby class Foo def sample puts "#{self.class} : block = #{block_given?}" end end class Bar < Foo def sample super end end Foo.new.sample {} # expect => true Bar.new.sample {} # ditto }}} Result of MacRuby: {{{ $ macruby t.rb Foo : block = true Bar : block = false }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/1224> MacRuby <http://macruby.org/>
#1224: "super" does not pass block to super class's method. ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.11 Component: MacRuby | Resolution: fixed Keywords: | ----------------------------------+----------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed * milestone: => MacRuby 0.11 Comment: Should be fixed with https://github.com/MacRuby/MacRuby/commit/5f62cf0d98a8e711266e1f10ce432ffb95... -- Ticket URL: <http://www.macruby.org/trac/ticket/1224#comment:1> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby