When creating an instance using ::Test.new, mruby incorrectly creates an Object instance instead of a Test class instance.
Expected Behavior
::Test.new should create an instance of the Test class.
Actual Behavior
::Test.new creates an Object instance instead.
Reproduction Steps
class Test
end
::Test.new.class #=> Object
Test.new.class #=> Test
Notes
This issue reproduces from commit 528e793 to HEAD (0109198).
When creating an instance using
::Test.new, mruby incorrectly creates anObjectinstance instead of aTestclass instance.Expected Behavior
::Test.newshould create an instance of theTestclass.Actual Behavior
::Test.newcreates anObjectinstance instead.Reproduction Steps
Notes
This issue reproduces from commit 528e793 to HEAD (0109198).