Rubinius does not call method_missing when super is called and superclass method doesn't exist #157

Closed
wycats opened this Issue Jan 7, 2010 · 1 comment

Comments

Projects
None yet
2 participants
@wycats
Member

wycats commented Jan 7, 2010

Test case

class A
  undef_method :is_a?
end

class B < A
  def is_a?(blah)
    p :in_isa
    super
  end

  def method_missing(*)
    false
  end
end

b = B.new

p b.is_a?(B)
@evanphx

This comment has been minimized.

Show comment Hide comment
@evanphx

evanphx Jan 7, 2010

Owner

Fix method_missing + super behavior. Closed by 31ddb88.

Owner

evanphx commented Jan 7, 2010

Fix method_missing + super behavior. Closed by 31ddb88.

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment