Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ruby/stdlib/jruby/compiler/java_class.rb
Original file line number Diff line number Diff line change
@@ -214,7 +214,7 @@ def log(str)
node.post && node.post.child_nodes.each do |post_arg|
current_method.args << post_arg.name
end
if node.rest_arg >= 0
if node.has_rest_arg
current_method.args << node.rest_arg_node.name
end
if node.block

0 comments on commit e6bda5d

Please sign in to comment.