File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
compiler/src/dotty/tools/repl Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -90,10 +90,9 @@ private[repl] class Rendering(parentClassLoader: Option[ClassLoader] = None):
9090 /** Used to elide long output in replStringOf via `-Vrepl-max-print-characters` */
9191 private [repl] def truncate (str : String )(using ctx : Context ): String =
9292 val maxPrintCharacters = ctx.settings.VreplMaxPrintCharacters .valueIn(ctx.settingsState)
93- val showTruncated = " ... large output truncated, print value to show all"
9493 val ncp = str.codePointCount(0 , str.length) // to not cut inside code point
9594 if ncp <= maxPrintCharacters then str
96- else str.substring(0 , str.offsetByCodePoints(0 , maxPrintCharacters - 1 )) + showTruncated
95+ else str.substring(0 , str.offsetByCodePoints(0 , maxPrintCharacters - 1 )) + infoOutputGotTruncated
9796
9897 /** Return a String representation of a value we got from `classLoader()`. */
9998 private [repl] def replStringOf (value : Object )(using Context ): String =
You can’t perform that action at this time.
0 commit comments