There was an error while loading. Please reload this page.
1 parent c9d8c77 commit 95b3ceeCopy full SHA for 95b3cee
1 file changed
core/src/main/java/org/jruby/truffle/translator/BodyTranslator.java
@@ -356,7 +356,7 @@ public RubyNode visitCallNode(CallNode node) {
356
final SourceSection sourceSection = translate(node.getPosition());
357
358
if (node.getReceiverNode() instanceof org.jruby.ast.ConstNode
359
- && ((ConstNode) node.getReceiverNode()).getName() == "Rubinius") {
+ && ((ConstNode) node.getReceiverNode()).getName().equals("Rubinius")) {
360
if (node.getName().equals("primitive")) {
361
return translateRubiniusPrimitive(sourceSection, node);
362
} else if (node.getName().equals("invoke_primitive")) {
0 commit comments