| 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.diagnostic; | 5 library fletchc.diagnostic; |
| 6 | 6 |
| 7 import 'messages.dart' show | 7 import 'messages.dart' show |
| 8 DiagnosticKind, | 8 DiagnosticKind, |
| 9 getMessage; | 9 getMessage; |
| 10 | 10 |
| 11 import 'hub/sentence_parser.dart' show | 11 import 'hub/sentence_parser.dart' show |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 arguments[DiagnosticParameter.uri] = uri; | 251 arguments[DiagnosticParameter.uri] = uri; |
| 252 } | 252 } |
| 253 if (requiredTarget != null) { | 253 if (requiredTarget != null) { |
| 254 arguments[DiagnosticParameter.requiredTarget] = requiredTarget; | 254 arguments[DiagnosticParameter.requiredTarget] = requiredTarget; |
| 255 } | 255 } |
| 256 if (fixit != null) { | 256 if (fixit != null) { |
| 257 arguments[DiagnosticParameter.fixit] = fixit; | 257 arguments[DiagnosticParameter.fixit] = fixit; |
| 258 } | 258 } |
| 259 throw new InputError(kind, arguments); | 259 throw new InputError(kind, arguments); |
| 260 } | 260 } |
| OLD | NEW |