Skip to content


Browse files Browse the repository at this point in the history
Revert "[Truffle] Make the warning format match MRI and JRuby."
This reverts commit aed9947.
  • Loading branch information
nirvdrum committed Jan 16, 2015
1 parent 6a96437 commit acda7f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/common/
Expand Up @@ -81,7 +81,7 @@ public void warn(ID id, String fileName, int lineNumber, String message) {

StringBuilder buffer = new StringBuilder(100);

buffer.append(fileName).append(':').append(lineNumber).append(": ");
buffer.append(fileName).append(':').append(lineNumber).append(' ');
buffer.append("warning: ").append(message).append('\n');
IRubyObject errorStream = runtime.getGlobalVariables().get("$stderr");
errorStream.callMethod(runtime.getCurrentContext(), "write", runtime.newString(buffer.toString()));
Expand Down

0 comments on commit acda7f1

Please sign in to comment.