Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Side by Side Diff: pkg/front_end/messages.yaml

Issue 2979623002: Use messages for (some) public API errors (Closed)
Patch Set: cl comments Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 624
625 InternalVerificationError:
626 template: "Verification of the generated program failed: #string."
627
625 LocalDefinitionHidesExport: 628 LocalDefinitionHidesExport:
626 template: "Local definition of '#name' hides export from '#uri'." 629 template: "Local definition of '#name' hides export from '#uri'."
627 630
628 LocalDefinitionHidesImport: 631 LocalDefinitionHidesImport:
629 template: "Local definition of '#name' hides import from '#uri'." 632 template: "Local definition of '#name' hides import from '#uri'."
630 633
631 ExportHidesExport: 634 ExportHidesExport:
632 template: "Export of '#name' (from '#uri') hides export from '#uri2'." 635 template: "Export of '#name' (from '#uri') hides export from '#uri2'."
633 636
634 ImportHidesImport: 637 ImportHidesImport:
635 template: "Import of '#name' (from '#uri') hides import from '#uri2'." 638 template: "Import of '#name' (from '#uri') hides import from '#uri2'."
636 639
637 DuplicatedExport: 640 DuplicatedExport:
638 template: "'#name' is exported from both '#uri' and '#uri2'." 641 template: "'#name' is exported from both '#uri' and '#uri2'."
639 642
640 DuplicatedImport: 643 DuplicatedImport:
641 template: "'#name' is imported from both '#uri' and '#uri2'." 644 template: "'#name' is imported from both '#uri' and '#uri2'."
645
646 MissingMain:
647 template: "No 'main' method found."
648 tip: "Try adding a method named 'main' to your program."
649 dart2jsCode: MISSING_MAIN
650
651 MissingInputFile:
652 template: "Input file not found: #string."
ahe 2017/07/13 00:03:38 #uri here and below?
Siggi Cherem (dart-lang) 2017/07/18 00:32:57 Done.
653
654 MissingSdkRoot:
655 template: "SDK root directory not found: #string."
656
657 MissingSdkSummary:
658 template: "SDK summary not found: #string."
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698