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

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

Issue 2980033004: Throw if there is no compiler context available (Closed)
Patch Set: 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 610 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 621
622 InternalProblemStackNotEmpty: 622 InternalProblemStackNotEmpty:
623 template: "#name.stack isn't empty:\n #string" 623 template: "#name.stack isn't empty:\n #string"
624 624
625 InternalProblemAlreadyInitialized: 625 InternalProblemAlreadyInitialized:
626 template: "Attempt to set initializer on field without initializer." 626 template: "Attempt to set initializer on field without initializer."
627 627
628 InternalProblemBodyOnAbstractMethod: 628 InternalProblemBodyOnAbstractMethod:
629 template: "Attempting to set body on abstract method." 629 template: "Attempting to set body on abstract method."
630 630
631 InternalProblemMissingContext:
632 template: "Compiler cannot run without a compiler context."
633 tip: "Wrap calls to the compiler in a zone with a compiler context."
ahe 2017/07/17 08:42:07 This sounds like an order (which is impolite). Als
Siggi Cherem (dart-lang) 2017/07/17 20:18:38 Done.
634
631 InternalVerificationError: 635 InternalVerificationError:
632 template: "Verification of the generated program failed: #string." 636 template: "Verification of the generated program failed: #string."
633 637
634 LocalDefinitionHidesExport: 638 LocalDefinitionHidesExport:
635 template: "Local definition of '#name' hides export from '#uri'." 639 template: "Local definition of '#name' hides export from '#uri'."
636 640
637 LocalDefinitionHidesImport: 641 LocalDefinitionHidesImport:
638 template: "Local definition of '#name' hides import from '#uri'." 642 template: "Local definition of '#name' hides import from '#uri'."
639 643
640 ExportHidesExport: 644 ExportHidesExport:
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
868 872
869 CantInferPackagesFromManyInputs: 873 CantInferPackagesFromManyInputs:
870 template: "Cannot infer a .packages file when compiling multiple inputs." 874 template: "Cannot infer a .packages file when compiling multiple inputs."
871 tip: "Try specifying the file explicitly with the --packages option." 875 tip: "Try specifying the file explicitly with the --packages option."
872 876
873 PackageNotFound: 877 PackageNotFound:
874 template: "Could not resolve the package '#name' in '#uri'." 878 template: "Could not resolve the package '#name' in '#uri'."
875 879
876 InvalidPackageUri: 880 InvalidPackageUri:
877 template: "Invalid package Uri '#uri':\n #string." 881 template: "Invalid package Uri '#uri':\n #string."
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698