Skip to content

Commit a3a35ee

Browse files
committed
Fix NegotiateCompatibleEncodingNode wrong order of arguments
1 parent 5a0a7d3 commit a3a35ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/truffleruby/core/encoding/EncodingNodes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ protected RubyEncoding negotiateObjectString(Object first, Object second,
333333
@Bind("encodingNode.execute(this, first)") RubyEncoding firstEncoding,
334334
@Bind("encodingNode.execute(this, second)") RubyEncoding secondEncoding,
335335
@Cached @Shared RubyStringLibrary libSecond) {
336-
return negotiateStringObjectUncached(second, first, encodingNode, firstEncoding, secondEncoding, libSecond);
336+
return negotiateStringObjectUncached(second, first, encodingNode, secondEncoding, firstEncoding, libSecond);
337337
}
338338

339339
@Specialization(

0 commit comments

Comments
 (0)