removes class statements

classes have to be created in melon, a level up
This commit is contained in:
Torsten Ruger
2016-12-17 18:31:26 +02:00
parent ffb69a2c55
commit 48af14f5c9
4 changed files with 2 additions and 28 deletions

View File

@ -1,15 +0,0 @@
module Typed
module ClassStatement
def on_ClassStatement statement
raise "classes dont yet play babushka, get coding #{statement.name}" if @type
@type = Parfait::Space.object_space.get_class_by_name!(statement.name).instance_type
#puts "Compiling class #{@type.inspect}"
statement_value = process(statement.statements).last
@type = nil
return statement_value
end
end
end