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

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

Issue 10116032: Issue 2639. Resolve implicit super() constructor invocation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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 019c9e447864c1838ef9a280b92f93271ea01df5..ec619ee9c3c678dbaffe50c5a4dd2432991b148a 100644
--- a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
+++ b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
@@ -132,6 +132,8 @@ public enum ResolverErrorCode implements ErrorCode {
NOT_AN_INSTANCE_FIELD("%s is not an instance field"),
REDIRECTED_CONSTRUCTOR_CYCLE("Redirected constructor call has a cycle."),
PARAMETER_INIT_OUTSIDE_CONSTRUCTOR("Parameter initializers can only be used in constructors"),
+ SUPER_METHOD_INVOCATION_IN_CONSTRUCTOR_INITIALIZER(
+ "Super mathod invocation is not allowed in constructor initializer"),
devoncarew 2012/04/18 20:40:46 Super method (sp)
PARAMETER_INIT_STATIC_FIELD(
"Parameter initializer cannot be use to initialize a static field '%s'"),
PARAMETER_INIT_WITH_REDIR_CONSTRUCTOR(

Powered by Google App Engine
This is Rietveld 408576698