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

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

Issue 8523034: Compile Time Constants cycle check (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reverted DartCompiler.java back to just bare necessities Created 9 years, 1 month 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 1a6b82cca5ea8b00a09bac5e50c1199f7dff118b..fced8884aaf284fe6f8dc2979450e4a6c5320592 100644
--- a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
+++ b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
@@ -31,6 +31,7 @@ public enum ResolverErrorCode implements ErrorCode {
CANNOT_RESOLVE_SUPER_CONSTRUCTOR("cannot resolve method %s"),
CANNOT_RESOLVE_IMPLICIT_CALL_TO_SUPER_CONSTRUCTOR(
"super type %s does not have a default constructor"),
+ CIRCULAR_REFERENCE("Circular reference"),
CONSTRUCTOR_CANNOT_BE_ABSTRACT("A constructor cannot be asbstract"),
CONSTRUCTOR_CANNOT_BE_STATIC("A constructor cannot be static"),
CONSTRUCTOR_CANNOT_HAVE_RETURN_TYPE("Generative constructors cannot have return type"),
@@ -121,14 +122,17 @@ public enum ResolverErrorCode implements ErrorCode {
this.message = message;
}
+ @Override
public String getMessage() {
return message;
}
+ @Override
public ErrorSeverity getErrorSeverity() {
return severity;
}
+ @Override
public SubSystem getSubSystem() {
return SubSystem.RESOLVER;
}

Powered by Google App Engine
This is Rietveld 408576698