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 805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
816 | 816 |
817 InputFileNotFound: | 817 InputFileNotFound: |
818 template: "Input file not found: #uri." | 818 template: "Input file not found: #uri." |
819 | 819 |
820 SdkRootNotFound: | 820 SdkRootNotFound: |
821 template: "SDK root directory not found: #uri." | 821 template: "SDK root directory not found: #uri." |
822 | 822 |
823 SdkSummaryNotFound: | 823 SdkSummaryNotFound: |
824 template: "SDK summary not found: #uri." | 824 template: "SDK summary not found: #uri." |
825 | 825 |
826 SdkSpecificationNotFound: | |
827 template: "SDK libraries specification not found: #uri." | |
ahe
2017/08/03 11:58:16
Consider adding something like this:
tip: "Normal
Siggi Cherem (dart-lang)
2017/08/05 00:41:02
Done.
| |
828 | |
826 ThisAccessInFieldInitializer: | 829 ThisAccessInFieldInitializer: |
827 template: "Can't access 'this' in a field initializer to read '#name'." | 830 template: "Can't access 'this' in a field initializer to read '#name'." |
828 | 831 |
829 ThisAsIdentifier: | 832 ThisAsIdentifier: |
830 template: "Expected identifier, but got 'this'." | 833 template: "Expected identifier, but got 'this'." |
831 | 834 |
832 SuperAsIdentifier: | 835 SuperAsIdentifier: |
833 template: "Expected identifier, but got 'super'." | 836 template: "Expected identifier, but got 'super'." |
834 | 837 |
835 SwitchCaseFallThrough: | 838 SwitchCaseFallThrough: |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
889 | 892 |
890 CantInferPackagesFromPackageUri: | 893 CantInferPackagesFromPackageUri: |
891 template: "Can't infer a .packages file from an input 'package:*' URI." | 894 template: "Can't infer a .packages file from an input 'package:*' URI." |
892 tip: "Try specifying the file explicitly with the --packages option." | 895 tip: "Try specifying the file explicitly with the --packages option." |
893 | 896 |
894 PackageNotFound: | 897 PackageNotFound: |
895 template: "Could not resolve the package '#name' in '#uri'." | 898 template: "Could not resolve the package '#name' in '#uri'." |
896 | 899 |
897 InvalidPackageUri: | 900 InvalidPackageUri: |
898 template: "Invalid package Uri '#uri':\n #string." | 901 template: "Invalid package Uri '#uri':\n #string." |
OLD | NEW |