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 3649fa8 commit 385af47Copy full SHA for 385af47
compiler/src/dotty/tools/repl/ReplDriver.scala
@@ -193,9 +193,11 @@ class ReplDriver(settings: Array[String],
193
private def interpret(res: ParseResult)(implicit state: State): State =
194
res match {
195
case parsed: Parsed if parsed.trees.nonEmpty =>
196
- compile(parsed)
+ val newState = compile(parsed)
197
.withHistory(parsed.sourceCode :: state.history)
198
.newRun(compiler, rootCtx)
199
+ out.println() // Prints newline after commands, also fixes #1369
200
+ newState
201
202
case SyntaxErrors(src, errs, _) =>
203
displayErrors(errs)
0 commit comments