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." | |
828 tip: "Normally, the specification is a file named 'libraries.json' in the Dart
SDK install location." | |
829 | |
830 ThisAccessInFieldInitializer: | 826 ThisAccessInFieldInitializer: |
831 template: "Can't access 'this' in a field initializer to read '#name'." | 827 template: "Can't access 'this' in a field initializer to read '#name'." |
832 | 828 |
833 ThisAsIdentifier: | 829 ThisAsIdentifier: |
834 template: "Expected identifier, but got 'this'." | 830 template: "Expected identifier, but got 'this'." |
835 | 831 |
836 SuperAsIdentifier: | 832 SuperAsIdentifier: |
837 template: "Expected identifier, but got 'super'." | 833 template: "Expected identifier, but got 'super'." |
838 | 834 |
839 SwitchCaseFallThrough: | 835 SwitchCaseFallThrough: |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
880 | 876 |
881 ExpectedAnInitializer: | 877 ExpectedAnInitializer: |
882 template: "Expected an initializer." | 878 template: "Expected an initializer." |
883 | 879 |
884 NotAnLvalue: | 880 NotAnLvalue: |
885 template: "Can't assign to this." | 881 template: "Can't assign to this." |
886 | 882 |
887 CannotReadPackagesFile: | 883 CannotReadPackagesFile: |
888 template: "Unable to read '.packages' file:\n #string." | 884 template: "Unable to read '.packages' file:\n #string." |
889 | 885 |
890 CannotReadSdkSpecification: | |
891 template: "Unable to read the 'libraries.json' specification file:\n #string.
" | |
892 | |
893 CantInferPackagesFromManyInputs: | 886 CantInferPackagesFromManyInputs: |
894 template: "Can't infer a .packages file when compiling multiple inputs." | 887 template: "Can't infer a .packages file when compiling multiple inputs." |
895 tip: "Try specifying the file explicitly with the --packages option." | 888 tip: "Try specifying the file explicitly with the --packages option." |
896 | 889 |
897 CantInferPackagesFromPackageUri: | 890 CantInferPackagesFromPackageUri: |
898 template: "Can't infer a .packages file from an input 'package:*' URI." | 891 template: "Can't infer a .packages file from an input 'package:*' URI." |
899 tip: "Try specifying the file explicitly with the --packages option." | 892 tip: "Try specifying the file explicitly with the --packages option." |
900 | 893 |
901 PackageNotFound: | 894 PackageNotFound: |
902 template: "Could not resolve the package '#name' in '#uri'." | 895 template: "Could not resolve the package '#name' in '#uri'." |
903 | 896 |
904 InvalidPackageUri: | 897 InvalidPackageUri: |
905 template: "Invalid package Uri '#uri':\n #string." | 898 template: "Invalid package Uri '#uri':\n #string." |
OLD | NEW |