OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 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 | 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. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 library fletchc.messages; | 5 library fletchc.messages; |
6 | 6 |
7 import 'diagnostic.dart' show | 7 import 'diagnostic.dart' show |
8 Diagnostic, // For documentation only. | 8 Diagnostic, // For documentation only. |
9 DiagnosticParameter; | 9 DiagnosticParameter; |
10 | 10 |
11 enum DiagnosticKind { | 11 enum DiagnosticKind { |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 "different versions.\nCompiler version: '$userInput'\n" | 352 "different versions.\nCompiler version: '$userInput'\n" |
353 "CLI version: '$additionalUserInput'.\n" | 353 "CLI version: '$additionalUserInput'.\n" |
354 "This can happen if you have recently updated you Fletch SDK. " | 354 "This can happen if you have recently updated you Fletch SDK. " |
355 "Try running 'fletch quit' and retry the command."; | 355 "Try running 'fletch quit' and retry the command."; |
356 | 356 |
357 case DiagnosticKind.illegalDefine: | 357 case DiagnosticKind.illegalDefine: |
358 return "The define $userInput has an illegal value part: " | 358 return "The define $userInput has an illegal value part: " |
359 "$additionalUserInput."; | 359 "$additionalUserInput."; |
360 } | 360 } |
361 } | 361 } |
OLD | NEW |