General

Profile

danielwaterworth (Daniel Waterworth)

  • Login: danielwaterworth
  • Registered on: 05/26/2019
  • Last sign in: 10/03/2019

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

05/26/2019

01:31 PM Ruby Bug #15877: Incorrect constant lookup result in method on cloned class
Running with `RubyVM::InstructionSequence.compile_option = {inline_const_cache: false}` produces the correct result. danielwaterworth (Daniel Waterworth)
09:59 AM Ruby Bug #15877 (Closed): Incorrect constant lookup result in method on cloned class
This behavior seems wrong to me:
``` ruby
class Foo
def test
TEST
end
end
Bar1 = Foo.clone
Bar2 = Foo.clone
class Bar1
TEST = 'bar-1'
end
class Bar2
TEST = 'bar-2'
end
# If these two lines are reorder...
danielwaterworth (Daniel Waterworth)

Also available in: Atom