Skip to content

Commit d571c52

Browse files
committed
Leave a comment explaining ReplPrinter is ignored under -Yrepl-class-based
1 parent 9533e80 commit d571c52

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

test/files/run/repl-printer-classbased.check

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ showReplPrinter: [A](implicit z: Show[A])scala.tools.nsc.interpreter.ReplPrinter
3535

3636
scala>
3737

38+
scala> // the lack of ! after 23 is expected because we don't enable custom string under -Yrepl-class-based
39+
3840
scala> 23
3941
res1: Int = 23
4042

test/files/run/repl-printer-classbased.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ implicit def showReplPrinter[A](implicit z: Show[A]): ReplPrinter[A] = new ReplP
2424
}
2525
}
2626
27+
// the lack of ! after 23 is expected because we don't enable custom string under -Yrepl-class-based
2728
23
2829
"""
2930
}

0 commit comments

Comments
 (0)