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.
2 parents 4b3fdf6 + 4bd3cd9 commit ba501f4Copy full SHA for ba501f4
tests/run/i8425.scala
@@ -3,7 +3,9 @@ import java.io.{ OutputStream, PrintStream }
3
trait T {
4
val text: String
5
val stream = new PrintStream(new OutputStream {
6
- def write(b: Int) = Console.println(s"text: $b")
+ def write(b: Int) =
7
+ if b != 13 then // this filters out \r on Windows
8
+ Console.println(s"text: $b")
9
}) {
10
override def println(x: Any) = ???
11
}
0 commit comments