more dead code goes

This commit is contained in:
Torsten Ruger
2015-07-21 20:24:31 +03:00
parent 074f3af174
commit 2f409ea4e1
5 changed files with 57 additions and 81 deletions

View File

@ -30,10 +30,10 @@ module Parfait
# Get class works on the type. The value's type is stored by the machine.
# So this function is not overriden in derived classes, because it is used
# to espablish what class a value has! (it's that "fake" oo i mentioned)
def get_class()
type = self.get_type()
return Integer if( type == INTEGER_VALUE )
raise "invalid type"
end
# def get_class()
# type = self.get_type()
# return Integer if( type == INTEGER_VALUE )
# raise "invalid type"
# end
end
end