Affects Version/s: Scala 2.12.0
Fix Version/s: None
Component/s: Repl / Interpreter
Welcome to Scala 2.12.0 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_112).
Submitting a lambda as a callable and retrieving the future on the same line causes the REPL to hang.
OK, because not a lambda:
OK, because retrieval separate from submission:
This was discovered in the real world by attempting scalaz.concurrent.Task("foo").run, which also hangs.
The same snippets all complete successfully on Scala 2.11.8.
Maybe related to SI-9076?