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 b4ece2a commit db387a2Copy full SHA for db387a2
compiler/test/dotty/tools/dotc/repl/TestREPL.scala
@@ -58,8 +58,11 @@ class TestREPL(script: String) extends REPL {
58
val printed = out.toString
59
val transcript = printed.drop(printed.indexOf(config.prompt))
60
if (transcript.toString.lines.toList != script.lines.toList) {
61
- println("input differs from transcript:")
+ println("input differs from transcript (copy is repl.transcript):")
62
println(transcript)
63
+ val s = new PrintStream("repl.transcript")
64
+ s.print(transcript)
65
+ s.close()
66
assert(false)
67
}
68
0 commit comments