提交 26743920 编写于 作者: C Charles Oliver Nutter

Additional fix for argument-splat ordering differences.

See #26854
上级 5f382d41
......@@ -117,8 +117,8 @@ def run_callbacks(kind)
(skipped ||= []) << current
next
else
expanded = current.expand_call_template(env, invoke_sequence)
expanded.shift.send(*expanded, &expanded.shift)
target, block, method, *arguments = current.expand_call_template(env, invoke_sequence)
target.send(method, *arguments, &block)
end
current.invoke_after(env)
skipped.pop.invoke_after(env) while skipped && skipped.first
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册