had to boot_classes outside constructor (unfortunately) because of recursion

This commit is contained in:
Torsten Ruger 2014-09-09 17:51:34 +03:00
parent 7036a87678
commit 61e80d4f28

View File

@ -21,7 +21,6 @@ module Virtual
@main = Virtual::CompiledMethod.new("main" , [] )
#global objects (data)
@objects = []
boot_classes! # boot is a verb here
@passes = [ Virtual::SendImplementation ]
end
attr_reader :main , :classes , :objects
@ -43,6 +42,7 @@ module Virtual
@@space
else
@@space = BootSpace.new
@@space.boot_classes! # boot is a verb here
end
end