getting to where where the puts should be, but it aint there

This commit is contained in:
Torsten Ruger
2014-08-22 10:21:12 +03:00
parent b305a56576
commit e19b7be111
7 changed files with 43 additions and 19 deletions

View File

@ -3,7 +3,7 @@ module Ast
# attr_reader :name, :params, :body , :receiver
def compile method , message
args = params.collect do |p|
raise "error, arguemnt must be a identifier, not #{p}" unless p.is_a? NameExpression
raise "error, argument must be a identifier, not #{p}" unless p.is_a? NameExpression
p.name
end
r = receiver ? receiver.compile(method,message) : Virtual::Self.new()