fix argument transfer (to be logical)

This commit is contained in:
2020-02-27 18:19:27 +02:00
parent 685022a6e0
commit 393f0d9a60
9 changed files with 31 additions and 36 deletions

View File

@ -45,7 +45,7 @@ module Sol
assert_equal Parfait::Class, @ins.next.receiver.known_object.class
end
def test_arg_one
assert_equal SlotLoad, @ins.next(1).arguments[0].class
assert_equal SlottedConstant, @ins.next(1).arguments[0].class
end
def test_receiver_move_class
assert_equal ArgumentTransfer, @ins.next(1).class