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 2318433 commit 3e2af77Copy full SHA for 3e2af77
compiler/src/dotty/tools/repl/ReplDriver.scala
@@ -200,9 +200,11 @@ class ReplDriver(settings: Array[String],
200
private def interpret(res: ParseResult)(implicit state: State): State =
201
res match {
202
case parsed: Parsed if parsed.trees.nonEmpty =>
203
- compile(parsed)
+ val newState = compile(parsed)
204
.withHistory(parsed.sourceCode :: state.history)
205
.newRun(compiler, rootCtx)
206
+ out.println() // Prints newline after commands, also fixes #1369
207
+ newState
208
209
case SyntaxErrors(src, errs, _) =>
210
displayErrors(errs)
0 commit comments