-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
ruby/ruby
#14401Description
Currently buggy. Not sure why. Repro:
class C
def assert_equal expected, actual
if expected != actual
raise "NO"
end
end
def test_defined_method
assert_equal(nil, defined?("x".reverse(1).reverse))
end
end
c = C.new
c.test_defined_method
c.test_defined_method
c.test_defined_methodAdding a temporary side-exit into HIR building to work around this. To reproduce this bug, remove the side-exit.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels