Chromium Code Reviews| Index: sdk/lib/_internal/compiler/implementation/warnings.dart |
| diff --git a/sdk/lib/_internal/compiler/implementation/warnings.dart b/sdk/lib/_internal/compiler/implementation/warnings.dart |
| index 803d5a94e8eab247ccd147ea669a5fc0d887d953..7edacfa713aa3903416944abe9d4c2f40b38376e 100644 |
| --- a/sdk/lib/_internal/compiler/implementation/warnings.dart |
| +++ b/sdk/lib/_internal/compiler/implementation/warnings.dart |
| @@ -631,6 +631,16 @@ Error: "#{value}" is not a valid Symbol name because is not: |
| static const MessageKind PACKAGE_ROOT_NOT_SET = const MessageKind( |
| 'Error: Cannot resolve "#{uri}". Package root has not been set.'); |
| + static const MessageKind INTERNAL_LIBRARY_FROM = const MessageKind( |
|
ahe
2013/08/20 10:18:16
Could you add an example for this as well?
|
| + 'Error: Internal library "#{resolvedUri}" is not accessible from ' |
| + '"#{importingUri}".'); |
| + |
| + static const MessageKind INTERNAL_LIBRARY = const MessageKind( |
| + 'Error: Internal library "#{resolvedUri}" is not accessible.'); |
|
ahe
2013/08/20 10:18:16
Ditto.
|
| + |
| + static const MessageKind LIBRARY_NOT_FOUND = const MessageKind( |
| + 'Error: Library not found "#{resolvedUri}".'); |
|
ahe
2013/08/20 10:18:16
Ditto.
|
| + |
| static const MessageKind UNSUPPORTED_EQ_EQ_EQ = const MessageKind( |
| 'Error: "===" is not an operator. ' |
| 'Did you mean "#{lhs} == #{rhs}" or "identical(#{lhs}, #{rhs})"?'); |
| @@ -742,6 +752,16 @@ import 'dart:mirrors'; |
| main() {} |
| """]); |
| + static const MessageKind READ_SCRIPT_ERROR = const MessageKind( |
| + "Error: Can't read '#{uri}' (#{exception}).", |
|
ahe
2013/08/20 10:18:16
howToFix?
|
| + examples: const [ |
| + """ |
| +// 'foo.dart' does not exist. |
| +import 'foo.dart'; |
| + |
| +main() {} |
| +"""]); |
| + |
| static const MessageKind COMPILER_CRASHED = const MessageKind( |
| 'Error: The compiler crashed when compiling this element.'); |