had to boot_classes outside constructor (unfortunately) because of recursion
This commit is contained in:
parent
7036a87678
commit
61e80d4f28
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user