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

Unified Diff: compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java

Issue 10668045: An implicit super() invocation wasn't being checked for the wrong # of args (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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: compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
index d7469e5a929be11fdaa6d1e2a25590de35478fde..fbef1a6d23da2f5c6f24fbbc4ca65e4720fbf9f8 100644
--- a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
+++ b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
@@ -169,6 +169,7 @@ public enum ResolverErrorCode implements ErrorCode {
THIS_ON_TOP_LEVEL("Cannot use 'this' in a top-level element"),
THIS_OUTSIDE_OF_METHOD("Cannot use 'this' outside of a method"),
THIS_IN_FACTORY_CONSTRUCTOR("Cannot use 'this' in a factory constructor"),
+ TOO_FEW_ARGUMENTS_IN_IMPLICIT_SUPER("Too few arguments in implicit super() constructor invocation in '%s'"),
TOO_MANY_QUALIFIERS_FOR_METHOD("Too many qualifiers for method or constructor"),
TOPLEVEL_FINAL_REQUIRES_VALUE("Top-level final fields must have an initial value"),
TYPE_ARGS_ONLY_ON_CONSTRUCTORS("Type arguments are only allowed on constructor methods"),

Powered by Google App Engine
This is Rietveld 408576698