Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -523,7 +523,7 @@ public RubyNode visitCallNode(org.jruby.ast.CallNode node) {
final RubyNode ret = translateCheckFrozen(sourceSection);
return addNewlineIfNeeded(node, ret);
}
} else if (receiver instanceof org.jruby.ast.Colon2ConstNode // Truffle.<method>
} else if (receiver instanceof org.jruby.ast.Colon2ConstNode // Truffle::Graal.<method>
&& ((org.jruby.ast.Colon2ConstNode) receiver).getLeftNode() instanceof org.jruby.ast.ConstNode
&& ((org.jruby.ast.ConstNode) ((org.jruby.ast.Colon2ConstNode) receiver).getLeftNode()).getName().equals("Truffle")
&& ((org.jruby.ast.Colon2ConstNode) receiver).getName().equals("Graal")) {

0 comments on commit cba1d0a

Please sign in to comment.