Starting to fix resolve mechanism

resolve had the wrong approach, sort of class based oo
It took methods from "derived" types and just used them
To be correct, those methods would have to be recompiled for the current type, rubyx is type, not class based.
Started on that, still soe strange hang though

Later, type and method analysis may reveal "compatible" types (down only off course) where one could use the exact same code, but that is phase 2
This commit is contained in:
2019-09-29 12:06:37 +03:00
parent 1e5073200c
commit 17f87f7464
9 changed files with 51 additions and 38 deletions

View File

@ -40,7 +40,7 @@ module Vool
assert_equal :get_internal_word, @ins.next(2).method.name
end
def test_call_has_right_receiver
assert_equal "Object_Type", @ins.next(2).method.self_type.name
assert_equal "Class_Type", @ins.next(2).method.self_type.name
end
end
end