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

Unified Diff: pkg/front_end/messages.yaml

Issue 2930673002: Implement initializer asserts. (Closed)
Patch Set: Created 3 years, 6 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 135f3acbed92ff72a35a217adb75cd0d11b9e6d2..7e4358b238e4651d147867c3daddb29d2cd51a06 100644
--- a/pkg/front_end/messages.yaml
+++ b/pkg/front_end/messages.yaml
@@ -398,3 +398,9 @@ TypeAfterVar:
TypeRequired:
template: "A type or modifier is required here."
tip: "Try adding a type, 'var', 'const', or 'final'."
+
+AssertExtraneousArgument:
+ template: "`assert` can't have more than two arguments."
+
+AssertAsExpression:
+ template: "`assert` can't be used as an expression."

Powered by Google App Engine
This is Rietveld 408576698