Skip to content

Commit

Permalink
remove some more debugging puts
Browse files Browse the repository at this point in the history
  • Loading branch information
baroquebobcat committed May 14, 2012
1 parent 6ec7338 commit 40a0c94
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/mirah/ast/intrinsics.rb
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,6 @@ def build_ast(name, parent, transformer)
position, 'expand', node_type)
pos = parent.position
args = []
puts self.arguments.inspect
expand_call = FunctionalCall.new(nil, pos, '_expand')
self.arguments.each_with_index do |arg, i|
# TODO optional args
Expand All @@ -430,15 +429,12 @@ def build_ast(name, parent, transformer)
cast
end
end
puts self.arguments.inspect
expand_call.parameters = args
puts self.arguments.inspect
expand.body = transformer.eval(<<-end)
args = @call.arguments
nil
end
expand.body << expand_call
puts self.arguments.inspect
actual_args = arguments.map do |arg|
type = if arg.kind_of?(BlockArgument)
Mirah::AST.type(nil, 'duby.lang.compiler.Block')
Expand Down

0 comments on commit 40a0c94

Please sign in to comment.