| 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 828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 839 template: "Constructor is marked 'const' so all fields must be final." | 839 template: "Constructor is marked 'const' so all fields must be final." |
| 840 | 840 |
| 841 ConstConstructorNonFinalFieldCause: | 841 ConstConstructorNonFinalFieldCause: |
| 842 template: "Field isn't final, but constructor is 'const'." | 842 template: "Field isn't final, but constructor is 'const'." |
| 843 | 843 |
| 844 AccessError: | 844 AccessError: |
| 845 template: "Access error: '#name'." | 845 template: "Access error: '#name'." |
| 846 | 846 |
| 847 PreviousUseOfName: | 847 PreviousUseOfName: |
| 848 template: "Previous use of '#name'." | 848 template: "Previous use of '#name'." |
| 849 |
| 850 ExpressionNotMetadata: |
| 851 template: "This can't be used as metadata; metadata should be a reference to a
compile-time constant variable, or a call to a constant constructor." |
| 852 |
| 853 ExpectedAnInitializer: |
| 854 template: "Expected an initializer." |
| 855 |
| 856 NotAnLvalue: |
| 857 template: "Can't assign to this." |
| OLD | NEW |