some class send test changes

also ivar, which is still wip
This commit is contained in:
2019-09-18 22:07:58 +03:00
parent 38491d120b
commit 41617519d9
10 changed files with 79 additions and 83 deletions

View File

@ -59,8 +59,8 @@ module Mom
end
def self.compiler_for( clazz_name , method_name , arguments , locals = {})
frame = Parfait::NamedList.type_for( locals )
args = Parfait::NamedList.type_for( arguments )
frame = Parfait::Type.for_hash( locals )
args = Parfait::Type.for_hash( arguments )
MethodCompiler.compiler_for_class(clazz_name , method_name , args, frame )
end