aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/repl
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2016-08-07 18:12:13 +0200
committerMartin Odersky <odersky@gmail.com>2016-08-16 17:34:42 +0200
commitb3d4fd94f24b961715dce15d7d46fcdd32f7dd69 (patch)
treeefb390524c8e59d51202e6645a4a9eaa48e13afa /src/dotty/tools/dotc/repl
parent8d4d9a363d90cc24bd79b18ea2ef7cba6a746bef (diff)
downloaddotty-b3d4fd94f24b961715dce15d7d46fcdd32f7dd69.tar.gz
dotty-b3d4fd94f24b961715dce15d7d46fcdd32f7dd69.tar.bz2
dotty-b3d4fd94f24b961715dce15d7d46fcdd32f7dd69.zip
Fix readLine in TestREPL to align with Ammonite reader
Needs to read several input lines at once. Enables repl test of new error messages.
Diffstat (limited to 'src/dotty/tools/dotc/repl')
-rw-r--r--src/dotty/tools/dotc/repl/REPL.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/repl/REPL.scala b/src/dotty/tools/dotc/repl/REPL.scala
index dd20852a4..211e3c931 100644
--- a/src/dotty/tools/dotc/repl/REPL.scala
+++ b/src/dotty/tools/dotc/repl/REPL.scala
@@ -50,7 +50,7 @@ class REPL extends Driver {
object REPL {
class Config {
val prompt = "scala> "
- val continuationPrompt = " | "
+ val continuationPrompt = " "
val version = ".next (pre-alpha)"
def context(ctx: Context): Context = ctx