Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -452,7 +452,7 @@ private RubyNode translateRubiniusPrimitive(SourceSection sourceSection, CallNod
*
* or
*
* ModuleDefinedIn.foo arg1, arg2, ..., argN
* (<#Method ModuleDefinedIn#foo>).call(arg1, arg2, ..., argN)
*
* Where the arguments are the same arguments as the method. It looks like this is only exercised with simple
* arguments so we're not worrying too much about what happens when they're more complicated (rest,
@@ -482,7 +482,7 @@ private RubyNode translateRubiniusInvokePrimitive(SourceSection sourceSection, C
*
* or
*
* ModuleDefinedIn.foo arg1, arg2, ..., argN
* (<#Method ModuleDefinedIn#foo>).call(arg1, arg2, ..., argN)
*/

if (node.getArgsNode().childNodes().size() < 1 || !(node.getArgsNode().childNodes().get(0) instanceof org.jruby.ast.SymbolNode)) {

0 comments on commit 41698a1

Please sign in to comment.