implement indexed object access
one of the few functions that can’t be coded (or the design specifically is such that it can’t, in c it would be self[index], or, worse *(self + index) )
This commit is contained in:
@ -144,7 +144,7 @@ module Register
|
||||
# have to define some dummies, just for the other to compile
|
||||
# TODO go through the virtual parfait layer and adjust function names to what they really are
|
||||
obj = @space.get_class_by_name(:Object)
|
||||
[:main ].each do |f|
|
||||
[:main , :get_internal ].each do |f|
|
||||
obj.add_instance_method Builtin::Object.send(f , nil)
|
||||
end
|
||||
obj = @space.get_class_by_name(:Kernel)
|
||||
|
Reference in New Issue
Block a user