Get a basic MetaClass going

Does get created in new, but not in boot.
Also not yet used in compiling
This commit is contained in:
Torsten Ruger
2019-02-16 23:24:16 +02:00
parent 2fbea82039
commit 3db7707614
11 changed files with 175 additions and 10 deletions

View File

@ -45,7 +45,7 @@ module Parfait
raise "resolve_method #{m_name}.#{m_name.class}" unless m_name.is_a?(Symbol)
method = get_instance_method(m_name)
return method if method
if( super_class_name != :Object )
if( super_class_name && super_class_name != :Object )
method = self.super_class.resolve_method(m_name)
end
method