finish typing variables

This commit is contained in:
Torsten Ruger
2015-09-27 16:06:48 +03:00
parent 26c6db17b1
commit 252c0ccdca
12 changed files with 81 additions and 40 deletions

View File

@ -93,6 +93,7 @@ module Virtual
# Objects are data and get assembled after functions
def add_object o
return false if @objects[o.object_id]
return if o.is_a? Fixnum
raise "adding non parfait #{o.class}" unless o.is_a? Parfait::Object or o.is_a? Symbol
@objects[o.object_id] = o
true