Skip to content

Commit 482819f

Browse files
committed
Better explanation of TODO items
1 parent 4550b52 commit 482819f

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/dotty/tools/dotc/repl/InterpreterLoop.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class InterpreterLoop(
9393
*/
9494
def firstLine(): String = {
9595
val futLine = Future(in.readLine(prompt))
96-
//bindSettings() // TODO enable
96+
// bindSettings() // TODO adapt to dotty and re-enable (?)
9797
Await.result(futLine, Duration.Inf)
9898
}
9999

src/dotty/tools/dotc/repl/Main.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ package repl
1313
*
1414
* There are a number of TODOs:
1515
*
16-
* - re-enable bindings (urgent, easy)
17-
* - re-enable jline support (urgent, easy)
16+
* - re-enable jline support (urgent, easy, see TODO in InteractiveReader.scala)
17+
* - make a doti command (urgent, easy)
1818
* - create or port REPL tests (urgent, intermediate)
19+
* - make interpreter run a pseudo line on startup to pre-load compiler (somewhat urgent, easy)
1920
* - copy improvements of current Scala REPL wrt to this version
2021
* (somewhat urgent, intermediate)
22+
* - re-enable bindSettings (not urgent, easy, see TODO in InterpreterLoop.scala)
2123
* - make string generation more functional (not urgent, easy)
2224
* - better handling of ^C (not urgent, intermediate)
2325
* - syntax highlighting (not urgent, intermediate)

0 commit comments

Comments
 (0)