Closed hachi8833 closed 7 years ago
FYI: this works in all cases:
module Foo
def ten
10
end
end
module Bar
def twenty
20
end
end
class Baz
include(Bar)
include(Foo)
end
a = Baz.new
puts(a.ten) #=> 10
puts(a.twenty) #=> 20
@hachi8833 This seems to be fixed on current master branch, can you confirm it?
Confirmed the issue has been fixed on current master. Closing issue...
The following works well in Ruby(run from file & REPL) and Goby(run from file).
In Goby REPL, the following error occurs after returning
50
.Looks like
include
does not work well only in REPL.