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 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 614 template: "Couldn't find previous token." | 614 template: "Couldn't find previous token." |
| 615 | 615 |
| 616 InternalProblemStackNotEmpty: | 616 InternalProblemStackNotEmpty: |
| 617 template: "#name.stack isn't empty:\n #string" | 617 template: "#name.stack isn't empty:\n #string" |
| 618 | 618 |
| 619 InternalProblemAlreadyInitialized: | 619 InternalProblemAlreadyInitialized: |
| 620 template: "Attempt to set initializer on field without initializer." | 620 template: "Attempt to set initializer on field without initializer." |
| 621 | 621 |
| 622 InternalProblemBodyOnAbstractMethod: | 622 InternalProblemBodyOnAbstractMethod: |
| 623 template: "Attempting to set body on abstract method." | 623 template: "Attempting to set body on abstract method." |
| 624 | |
| 625 LocalDefinitionHidesExport: | |
| 626 template: "Local definition of '#name' hides export from '#uri'." | |
| 627 | |
| 628 LocalDefinitionHidesImport: | |
| 629 template: "Local definition of '#name' hides import from '#uri'." | |
| 630 | |
| 631 ExportHidesExport: | |
| 632 template: "Export of '#name' (from '#uri') hides export from '#uri2'." | |
| 633 | |
| 634 ImportHidesImport: | |
|
sra1
2017/07/11 19:27:44
Why do we warn about this?
It is only a problem if
ahe
2017/07/12 15:48:17
A warning is required when the import is used, a w
| |
| 635 template: "Import of '#name' (from '#uri') hides import from '#uri2'." | |
| 636 | |
| 637 DuplicatedExport: | |
| 638 template: "'#name' is exported from both '#uri' and '#uri2'." | |
| 639 | |
| 640 DuplicatedImport: | |
| 641 template: "'#name' is imported from both '#uri' and '#uri2'." | |
| OLD | NEW |