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
@@ -356,7 +356,7 @@ public RubyNode visitCallNode(CallNode node) {
final SourceSection sourceSection = translate(node.getPosition());

if (node.getReceiverNode() instanceof org.jruby.ast.ConstNode
&& ((ConstNode) node.getReceiverNode()).getName() == "Rubinius") {
&& ((ConstNode) node.getReceiverNode()).getName().equals("Rubinius")) {
if (node.getName().equals("primitive")) {
return translateRubiniusPrimitive(sourceSection, node);
} else if (node.getName().equals("invoke_primitive")) {

0 comments on commit 95b3cee

Please sign in to comment.