fix interpreter test harness and start testing

interpreter on debug for now
This commit is contained in:
Torsten Ruger
2018-03-22 18:54:40 +02:00
parent e505856af7
commit 34903829ca
4 changed files with 11 additions and 10 deletions

View File

@ -65,7 +65,7 @@ module Parfait
# private
def set_type(type)
# puts "Type was set for #{self.class}"
raise "not type #{type.class}" unless type.is_a?(Type)
raise "not type #{type.class} in #{self}" unless type.is_a?(Type)
@type = type
end