Chromium Code Reviews| 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 772 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 783 tip: "Try changing the 'part of' declaration to use a relative file name." | 783 tip: "Try changing the 'part of' declaration to use a relative file name." |
| 784 | 784 |
| 785 PartOfUriMismatch: | 785 PartOfUriMismatch: |
| 786 template: "Using '#uri' as part of '#uri2' but its 'part of' declaration says '#string'." | 786 template: "Using '#uri' as part of '#uri2' but its 'part of' declaration says '#string'." |
| 787 | 787 |
| 788 MissingMain: | 788 MissingMain: |
| 789 template: "No 'main' method found." | 789 template: "No 'main' method found." |
| 790 tip: "Try adding a method named 'main' to your program." | 790 tip: "Try adding a method named 'main' to your program." |
| 791 dart2jsCode: MISSING_MAIN | 791 dart2jsCode: MISSING_MAIN |
| 792 | 792 |
| 793 MissingInputs: | |
| 794 template: "No input files provided to the compiler." | |
|
ahe
2017/07/14 13:44:58
files -> file.
Siggi Cherem (dart-lang)
2017/07/14 19:54:06
Done.
| |
| 795 | |
| 793 MissingInputFile: | 796 MissingInputFile: |
| 794 template: "Input file not found: #string." | 797 template: "Input file not found: #string." |
| 795 | 798 |
| 796 MissingSdkRoot: | 799 MissingSdkRoot: |
| 797 template: "SDK root directory not found: #string." | 800 template: "SDK root directory not found: #string." |
| 798 | 801 |
| 799 MissingSdkSummary: | 802 MissingSdkSummary: |
| 800 template: "SDK summary not found: #string." | 803 template: "SDK summary not found: #string." |
| 801 | 804 |
| 802 ThisAccessInFieldInitializer: | 805 ThisAccessInFieldInitializer: |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 839 template: "Constructor is marked 'const' so all fields must be final." | 842 template: "Constructor is marked 'const' so all fields must be final." |
| 840 | 843 |
| 841 ConstConstructorNonFinalFieldCause: | 844 ConstConstructorNonFinalFieldCause: |
| 842 template: "Field isn't final, but constructor is 'const'." | 845 template: "Field isn't final, but constructor is 'const'." |
| 843 | 846 |
| 844 AccessError: | 847 AccessError: |
| 845 template: "Access error: '#name'." | 848 template: "Access error: '#name'." |
| 846 | 849 |
| 847 PreviousUseOfName: | 850 PreviousUseOfName: |
| 848 template: "Previous use of '#name'." | 851 template: "Previous use of '#name'." |
| 852 | |
| 853 InvalidPackagesFile: | |
| 854 template: "Invalid .packages file '#uri':\n #string." | |
|
ahe
2017/07/14 13:44:58
Invalid is a word that we should avoid. How about:
Siggi Cherem (dart-lang)
2017/07/14 19:54:06
Done. However, now that I am catching the argument
| |
| OLD | NEW |