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 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
437 | 437 |
438 ConstFieldWithoutInitializer: | 438 ConstFieldWithoutInitializer: |
439 template: "A 'const' field must be initialized." | 439 template: "A 'const' field must be initialized." |
440 tip: "Try adding '= <initializer>'." | 440 tip: "Try adding '= <initializer>'." |
441 dart2jsCode: FASTA_IGNORED | 441 dart2jsCode: FASTA_IGNORED |
442 | 442 |
443 FinalFieldWithoutInitializer: | 443 FinalFieldWithoutInitializer: |
444 template: "A 'final' field must be initialized." | 444 template: "A 'final' field must be initialized." |
445 tip: "Try adding '= <initializer>'." | 445 tip: "Try adding '= <initializer>'." |
446 dart2jsCode: FASTA_IGNORED | 446 dart2jsCode: FASTA_IGNORED |
| 447 |
| 448 MetadataTypeArguments: |
| 449 template: "An annotation (metadata) can't use type arguments." |
| 450 dart2jsCode: FASTA_IGNORED |
OLD | NEW |