| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart 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 file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 part of dart2js; | 5 part of dart2js; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * The messages in this file should meet the following guide lines: | 8 * The messages in this file should meet the following guide lines: |
| 9 * | 9 * |
| 10 * 1. The message should start with exactly one of "Error", "Internal error", | 10 * 1. The message should start with exactly one of "Error", "Internal error", |
| (...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 608 | 608 |
| 609 static const MessageKind IMPORTED_HERE = const MessageKind( | 609 static const MessageKind IMPORTED_HERE = const MessageKind( |
| 610 'Info: "#{element}" is imported here.'); | 610 'Info: "#{element}" is imported here.'); |
| 611 | 611 |
| 612 static const MessageKind OVERRIDE_EQUALS_NOT_HASH_CODE = const MessageKind( | 612 static const MessageKind OVERRIDE_EQUALS_NOT_HASH_CODE = const MessageKind( |
| 613 'Hint: The class "#{class}" overrides "operator==", ' | 613 'Hint: The class "#{class}" overrides "operator==", ' |
| 614 'but not "get hashCode".'); | 614 'but not "get hashCode".'); |
| 615 | 615 |
| 616 static const MessageKind PACKAGE_ROOT_NOT_SET = const MessageKind( | 616 static const MessageKind PACKAGE_ROOT_NOT_SET = const MessageKind( |
| 617 'Error: Cannot resolve "#{uri}". Package root has not been set.'); | 617 'Error: Cannot resolve "#{uri}". Package root has not been set.'); |
| 618 |
| 619 static const MessageKind INTERNAL_LIBRARY_FROM = const MessageKind( |
| 620 'Error: Internal library "#{resolvedUri}" is not accessible from ' |
| 621 '"#{importingUri}".'); |
| 622 |
| 623 static const MessageKind INTERNAL_LIBRARY = const MessageKind( |
| 624 'Error: Internal library "#{resolvedUri}" is not accessible.'); |
| 625 |
| 626 static const MessageKind LIBRARY_NOT_FOUND = const MessageKind( |
| 627 'Error: Library not found "#{resolvedUri}".'); |
| 618 | 628 |
| 619 static const MessageKind COMPILER_CRASHED = const MessageKind( | 629 static const MessageKind COMPILER_CRASHED = const MessageKind( |
| 620 'Error: The compiler crashed when compiling this element.'); | 630 'Error: The compiler crashed when compiling this element.'); |
| 621 | 631 |
| 622 static const MessageKind PLEASE_REPORT_THE_CRASH = const MessageKind(''' | 632 static const MessageKind PLEASE_REPORT_THE_CRASH = const MessageKind(''' |
| 623 The compiler is broken. | 633 The compiler is broken. |
| 624 | 634 |
| 625 When compiling the above element, the compiler crashed. It is not | 635 When compiling the above element, the compiler crashed. It is not |
| 626 possible to tell if this is caused by a problem in your program or | 636 possible to tell if this is caused by a problem in your program or |
| 627 not. Regardless, the compiler should not crash. | 637 not. Regardless, the compiler should not crash. |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 812 | 822 |
| 813 class CompileTimeConstantError extends Diagnostic { | 823 class CompileTimeConstantError extends Diagnostic { |
| 814 CompileTimeConstantError(MessageKind kind, [Map arguments = const {}]) | 824 CompileTimeConstantError(MessageKind kind, [Map arguments = const {}]) |
| 815 : super(kind, arguments); | 825 : super(kind, arguments); |
| 816 } | 826 } |
| 817 | 827 |
| 818 class CompilationError extends Diagnostic { | 828 class CompilationError extends Diagnostic { |
| 819 CompilationError(MessageKind kind, [Map arguments = const {}]) | 829 CompilationError(MessageKind kind, [Map arguments = const {}]) |
| 820 : super(kind, arguments); | 830 : super(kind, arguments); |
| 821 } | 831 } |
| OLD | NEW |