We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e2a3e4 commit d271388Copy full SHA for d271388
src/main/java/org/truffleruby/debug/TruffleDebugNodes.java
@@ -410,7 +410,7 @@ public abstract static class ThrowAssertionErrorNode extends CoreMethodArrayArgu
410
@Specialization(guards = "strings.isRubyString(message)")
411
protected Object throwAssertionError(Object message,
412
@CachedLibrary(limit = "2") RubyStringLibrary strings) {
413
- throw new AssertionError(strings.getRope(message));
+ throw new AssertionError(strings.getJavaString(message));
414
}
415
416
0 commit comments