Skip to content

Commit 6396285

Browse files
committed
drop old comment which may be confusing
1 parent 02ea6f4 commit 6396285

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/repl/Rendering.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ private[repl] class Rendering(parentClassLoader: Option[ClassLoader] = None):
6060
// `ScalaRunTime.replStringOf`. Probe for new API without extraneous newlines.
6161
// For old API, try to clean up extraneous newlines by stripping suffix and maybe prefix newline.
6262
val scalaRuntime = Class.forName("scala.runtime.ScalaRunTime", true, myClassLoader)
63-
val renderer = "stringOf" // was: replStringOf
63+
val renderer = "stringOf"
6464
def stringOfMaybeTruncated(value: Object, maxElements: Int): String = {
6565
try {
6666
val meth = scalaRuntime.getMethod(renderer, classOf[Object], classOf[Int], classOf[Boolean])

0 commit comments

Comments
 (0)