let the BootClasses carry functions, ie one level squeezed between object_space and funtion, the class is coming to life
This commit is contained in:
@ -27,7 +27,7 @@ module Ast
|
||||
args << arg_value
|
||||
end
|
||||
function = Vm::Function.new(name , args )
|
||||
context.object_space.add_function function
|
||||
context.current_class.add_function function
|
||||
|
||||
parent_locals = context.locals
|
||||
parent_function = context.function
|
||||
|
Reference in New Issue
Block a user