We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a27ffeb + b0d6455 commit 74df435Copy full SHA for 74df435
compiler/src/dotty/tools/repl/ParseResult.scala
@@ -90,6 +90,7 @@ case object Reset extends Command {
90
/** `:quit` exits the repl */
91
case object Quit extends Command {
92
val command: String = ":quit"
93
+ val alias: String = ":exit"
94
}
95
96
/** `:help` shows the different commands implemented by the Dotty repl */
@@ -121,6 +122,7 @@ object ParseResult {
121
122
123
private val commands: List[(String, String => ParseResult)] = List(
124
Quit.command -> (_ => Quit),
125
+ Quit.alias -> (_ => Quit),
126
Help.command -> (_ => Help),
127
Reset.command -> (_ => Reset),
128
Imports.command -> (_ => Imports),
0 commit comments