Skip to content

Commit

Permalink
FCall and VCall should use implicit "self" receiver.
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Dec 28, 2012
1 parent ae956c1 commit 6f83a25
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/ruby/fast_ruby/expression_compiler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ def visitFCallNode(node)

ast.new_method_invocation.tap do |method_invocation|
method_invocation.name = ast.new_simple_name(safe_name(node.name))
method_invocation.expression = ast.new_this_expression

node.args_node && node.args_node.child_nodes.each do |arg|
arg_expression = ExpressionCompiler.new(ast, body_compiler, arg).start
Expand Down Expand Up @@ -268,7 +267,6 @@ def visitVCallNode(node)

ast.new_method_invocation.tap do |method_invocation|
method_invocation.name = ast.new_simple_name(safe_name(node.name))
method_invocation.expression = ast.new_this_expression
end
end

Expand Down

0 comments on commit 6f83a25

Please sign in to comment.