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 02ea6f4 commit 6396285Copy full SHA for 6396285
compiler/src/dotty/tools/repl/Rendering.scala
@@ -60,7 +60,7 @@ private[repl] class Rendering(parentClassLoader: Option[ClassLoader] = None):
60
// `ScalaRunTime.replStringOf`. Probe for new API without extraneous newlines.
61
// For old API, try to clean up extraneous newlines by stripping suffix and maybe prefix newline.
62
val scalaRuntime = Class.forName("scala.runtime.ScalaRunTime", true, myClassLoader)
63
- val renderer = "stringOf" // was: replStringOf
+ val renderer = "stringOf"
64
def stringOfMaybeTruncated(value: Object, maxElements: Int): String = {
65
try {
66
val meth = scalaRuntime.getMethod(renderer, classOf[Object], classOf[Int], classOf[Boolean])
0 commit comments