REPL: do not output additional newline after compiler and runtime errors

This commit is contained in:
Alexander Udalov
2016-02-14 19:07:56 +03:00
parent bd9dd90649
commit ed922deb93
2 changed files with 2 additions and 2 deletions
@@ -40,7 +40,7 @@ fun renderReplStackTrace(cause: Throwable, startFromMethodName: String): String
@Suppress("PLATFORM_CLASS_MAPPED_TO_KOTLIN", "UsePropertyAccessSyntax")
(cause as java.lang.Throwable).setStackTrace(resultingTrace.toTypedArray())
return Throwables.getStackTraceAsString(cause)
return Throwables.getStackTraceAsString(cause).trimEnd()
}
internal fun ClassLoader.listAllUrlsAsFiles(): List<File> {