| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file | |
| 2 // for details. All rights reserved. Use of this source code is governed by a | |
| 3 // BSD-style license that can be found in the LICENSE.md file. | |
| 4 | |
| 5 library fletchc.verbs.quit_verb; | |
| 6 | |
| 7 import 'infrastructure.dart'; | |
| 8 | |
| 9 import 'documentation.dart' show | |
| 10 quitDocumentation; | |
| 11 | |
| 12 const Action quitAction = const Action(quit, quitDocumentation); | |
| 13 | |
| 14 Future<int> quit(AnalyzedSentence sentence, VerbContext context) async { | |
| 15 throwFatalError(DiagnosticKind.quitTakesNoArguments); | |
| 16 return 1; | |
| 17 } | |
| OLD | NEW |