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

Unified Diff: pkg/front_end/messages.yaml

Issue 2979623002: Use messages for (some) public API errors (Closed)
Patch Set: wrap - verification error still pending 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 side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/messages.yaml
diff --git a/pkg/front_end/messages.yaml b/pkg/front_end/messages.yaml
index b5dafce2161d8ed2c962964d09ba4373cfc74723..cece571ccf06c313b0b247dac2d4f3e6ac21f3ef 100644
--- a/pkg/front_end/messages.yaml
+++ b/pkg/front_end/messages.yaml
@@ -577,3 +577,20 @@ NamedFunctionExpression:
ReturnTypeFunctionExpression:
template: "A function expression can't have a return type."
dart2jsCode: "*ignored*"
+
+MissingMain:
+ template: "No 'main' method found."
+ tip: "Try adding a method named 'main' to your program."
+ dart2jsCode: MISSING_MAIN
+
+MissingInputFile:
+ template: "Input file not found: #string."
+
+MissingSdkRoot:
+ template: "SDK root directory not found: #string."
+
+MissingSdkSummary:
+ template: "SDK summary not found: #string."
+
+VerificationError:
+ template: "An internal error was found while verifying the output of the compiler. #string"

Powered by Google App Engine
This is Rietveld 408576698