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

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

Issue 10545008: Eliminate internal compiler error when invoking a function type alias by mistake (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: removed unnecessary file. 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 4293fe83c3809aea039d576018f8b76f246483c0..58fe8f739c5c32fff0517bb122939a27884c7d55 100644
--- a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
+++ b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
@@ -21,6 +21,8 @@ public enum ResolverErrorCode implements ErrorCode {
CANNOT_BE_RESOLVED_LIBRARY("cannot resolve %s in library %s"),
CANNOT_BE_INITIALIZED("cannot be initialized"),
CANNOT_CALL_LABEL("Labels cannot be called"),
+ CANNOT_CALL_FUNCTION_TYPE_ALIAS("Function type aliases cannot be called"),
+ CANNOT_CALL_LIBRARY_PREFIX("Library prefixes cannot be called"),
CANNOT_DECLARE_NON_FACTORY_CONSTRUCTOR(
"Cannot declare a non-factory named constructor of another class."),
CANNOT_INIT_FIELD_FROM_SUPERCLASS("Cannot initialize a field from a super class"),

Powered by Google App Engine
This is Rietveld 408576698