Skip to content

Commit

Permalink
[Truffle] Truffle::Ropes.debug_print should honor the underlying enco…
Browse files Browse the repository at this point in the history
…ding.
  • Loading branch information
nirvdrum committed Jan 10, 2017
1 parent d5c9600 commit e04db9a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -31,7 +31,7 @@ public abstract static class DebugPrintNode extends CoreMethodArrayArgumentsNode
@TruffleBoundary
@Specialization(guards = "isRubyString(string)")
public DynamicObject debugPrint(DynamicObject string) {
System.err.println(string.toString());
System.err.println(StringOperations.getString(string));
return nil();
}

Expand Down

0 comments on commit e04db9a

Please sign in to comment.