OLD | NEW |
1 # Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2017, 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 # Each entry in this map corresponds to a diagnostic message. Ideally, each | 5 # Each entry in this map corresponds to a diagnostic message. Ideally, each |
6 # entry contains three parts: | 6 # entry contains three parts: |
7 # | 7 # |
8 # 1. A message template (template). | 8 # 1. A message template (template). |
9 # | 9 # |
10 # 2. A suggestion for how to correct the problem (tip). | 10 # 2. A suggestion for how to correct the problem (tip). |
(...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
632 template: "Export of '#name' (from '#uri') hides export from '#uri2'." | 632 template: "Export of '#name' (from '#uri') hides export from '#uri2'." |
633 | 633 |
634 ImportHidesImport: | 634 ImportHidesImport: |
635 template: "Import of '#name' (from '#uri') hides import from '#uri2'." | 635 template: "Import of '#name' (from '#uri') hides import from '#uri2'." |
636 | 636 |
637 DuplicatedExport: | 637 DuplicatedExport: |
638 template: "'#name' is exported from both '#uri' and '#uri2'." | 638 template: "'#name' is exported from both '#uri' and '#uri2'." |
639 | 639 |
640 DuplicatedImport: | 640 DuplicatedImport: |
641 template: "'#name' is imported from both '#uri' and '#uri2'." | 641 template: "'#name' is imported from both '#uri' and '#uri2'." |
| 642 |
| 643 CyclicClassHierarchy: |
| 644 template: "'#name' is a supertype of itself via '#string'." |
| 645 |
| 646 ExtendingEnum: |
| 647 template: "'#name' is an enum and can't be extended or implemented." |
| 648 |
| 649 ExtendingRestricted: |
| 650 template: "'#name' is restricted and can't be extended or implemented." |
| 651 |
| 652 NoUnnamedConstructorInObject: |
| 653 template: "'Object' has no unnamed constructor." |
| 654 |
| 655 IllegalMixinDueToConstructors: |
| 656 template: "Can't use '#name' as a mixin because it has constructors." |
| 657 |
| 658 IllegalMixinDueToConstructorsCause: |
| 659 template: "This constructor prevents using '#name' as a mixin." |
| 660 |
| 661 ConflictsWithConstructor: |
| 662 template: "Conflicts with constructor '#name'." |
| 663 |
| 664 ConflictsWithFactory: |
| 665 template: "Conflicts with factory '#name'." |
| 666 |
| 667 ConflictsWithMember: |
| 668 template: "Conflicts with member '#name'." |
| 669 |
| 670 ConflictsWithSetter: |
| 671 template: "Conflicts with setter '#name'." |
| 672 |
| 673 ConflictsWithTypeVariable: |
| 674 template: "Conflicts with type variable '#name'." |
| 675 |
| 676 ConflictsWithTypeVariableCause: |
| 677 template: "This is the type variable." |
| 678 |
| 679 IllegalMixin: |
| 680 template: "The type '#name' can't be mixed in." |
| 681 |
| 682 OverrideTypeVariablesMismatch: |
| 683 template: "Declared type variables of '#name' doesn't match those on overridde
n method '#name2'." |
| 684 |
| 685 OverrideMismatchNamedParameter: |
| 686 template: "The method '#name' doesn't have the named parameter '#name2' of ove
rriden method '#name3'." |
| 687 |
| 688 OverrideFewerNamedArguments: |
| 689 template: "The method '#name' has fewer named arguments than those of overridd
en method '#name2'." |
| 690 |
| 691 OverrideFewerPositionalArguments: |
| 692 template: "The method '#name' has fewer positional arguments than those of ove
rridden method '#name2'." |
| 693 |
| 694 OverrideMoreRequiredArguments: |
| 695 template: "The method '#name' has more required arguments than those of overri
dden method '#name2'." |
OLD | NEW |