Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
The fix for SI-7898 broke the REPL when using sbt #9804
Using the current HEAD of 2.12.x (af93c7a147156f69cad78cc80a36aeaeb89cbe0c) after the first expression, the REPL is broken - you can't see what you type:
Welcome to Scala 2.11.9-20160520-170134-99dad60 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_74). Type in expressions for evaluation. Or try :help. scala> 1 res0: Int = 1 scala> res1: Int = 2 scala> res2: Int = 3 scala> res3: Int = 3
Note that that pull request was made against 2.11.x, so it's also broken there (there's no
against 2.11, which must be merged forward for 2.12.
Somebody ought to update SBT not to use API deprecated since 2.9.0. That would make it easier to control these extension points.
In older code, the reader set by SBT was immediately overwritten; in the newer code, the reader was initialized before the call to createInterpreter, which SBT overrides (and in which SBT sets its own reader).