diff options
author | Som Snytt <som.snytt@gmail.com> | 2016-02-25 13:41:20 -0800 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2016-05-20 17:01:34 -0700 |
commit | 99dad60d984d3f72338f3bad4c4fe905090edd51 (patch) | |
tree | c70abab26b1116869e02606abac1167232ab28f4 /test | |
parent | 0d0671ae10ef552d66861248fa087306c960520e (diff) | |
download | scala-99dad60d984d3f72338f3bad4c4fe905090edd51.tar.gz scala-99dad60d984d3f72338f3bad4c4fe905090edd51.tar.bz2 scala-99dad60d984d3f72338f3bad4c4fe905090edd51.zip |
SI-7898 Read user input during REPL warmup
The compiler is created on main thread and user input is read
on an aux thread (opposite to currently).
Fixes completion when `-i` is supplied.
Now `-i` means pasted and new option `-I` means line-by-line.
The temporary reader uses postInit to swap in the underlying
reader.
Completion is disabled for the temporary reader, rather than
blocking while it waits for a compiler. But manically hitting
tab is one way of knowing exactly when completion is live.
Diffstat (limited to 'test')
-rw-r--r-- | test/files/run/t7805-repl-i.check | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/files/run/t7805-repl-i.check b/test/files/run/t7805-repl-i.check index 24512c0067..70f024605c 100644 --- a/test/files/run/t7805-repl-i.check +++ b/test/files/run/t7805-repl-i.check @@ -1,6 +1,3 @@ -Loading t7805-repl-i.script... -import util._ - Welcome to Scala Type in expressions for evaluation. Or try :help. |