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 612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
623 template: "#name.stack isn't empty:\n #string" | 623 template: "#name.stack isn't empty:\n #string" |
624 | 624 |
625 InternalProblemAlreadyInitialized: | 625 InternalProblemAlreadyInitialized: |
626 template: "Attempt to set initializer on field without initializer." | 626 template: "Attempt to set initializer on field without initializer." |
627 | 627 |
628 InternalProblemBodyOnAbstractMethod: | 628 InternalProblemBodyOnAbstractMethod: |
629 template: "Attempting to set body on abstract method." | 629 template: "Attempting to set body on abstract method." |
630 | 630 |
631 InternalProblemMissingContext: | 631 InternalProblemMissingContext: |
632 template: "Compiler cannot run without a compiler context." | 632 template: "Compiler cannot run without a compiler context." |
633 tip: "Are calls to the compiler wrapped in CompilerContext.withGlobalOptions?" | 633 tip: "Are calls to the compiler wrapped in CompilerContext.runInContext?" |
634 | 634 |
635 InternalVerificationError: | 635 InternalVerificationError: |
636 template: "Verification of the generated program failed: #string." | 636 template: "Verification of the generated program failed: #string." |
637 | 637 |
638 LocalDefinitionHidesExport: | 638 LocalDefinitionHidesExport: |
639 template: "Local definition of '#name' hides export from '#uri'." | 639 template: "Local definition of '#name' hides export from '#uri'." |
640 | 640 |
641 LocalDefinitionHidesImport: | 641 LocalDefinitionHidesImport: |
642 template: "Local definition of '#name' hides import from '#uri'." | 642 template: "Local definition of '#name' hides import from '#uri'." |
643 | 643 |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
867 NotAnLvalue: | 867 NotAnLvalue: |
868 template: "Can't assign to this." | 868 template: "Can't assign to this." |
869 | 869 |
870 CannotReadPackagesFile: | 870 CannotReadPackagesFile: |
871 template: "Unable to read '.packages' file:\n #string." | 871 template: "Unable to read '.packages' file:\n #string." |
872 | 872 |
873 CantInferPackagesFromManyInputs: | 873 CantInferPackagesFromManyInputs: |
874 template: "Cannot infer a .packages file when compiling multiple inputs." | 874 template: "Cannot infer a .packages file when compiling multiple inputs." |
875 tip: "Try specifying the file explicitly with the --packages option." | 875 tip: "Try specifying the file explicitly with the --packages option." |
876 | 876 |
877 CantInferPackagesFromPackageUri: | |
878 template: "Cannot infer a .packages file from an input `package:*` URI." | |
ahe
2017/07/18 16:54:37
Suggestion:
Can't infer a '.packages' file from '
Siggi Cherem (dart-lang)
2017/07/18 22:50:44
I decided to keep the original phrasing because I
| |
879 tip: "Try specifying the file explicitly with the --packages option." | |
880 | |
877 PackageNotFound: | 881 PackageNotFound: |
878 template: "Could not resolve the package '#name' in '#uri'." | 882 template: "Could not resolve the package '#name' in '#uri'." |
879 | 883 |
880 InvalidPackageUri: | 884 InvalidPackageUri: |
881 template: "Invalid package Uri '#uri':\n #string." | 885 template: "Invalid package Uri '#uri':\n #string." |
OLD | NEW |