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

Unified Diff: compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java

Issue 8390059: https://code.google.com/p/dart/issues/detail?id=225 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/dart/
Patch Set: '' Created 9 years, 2 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
« no previous file with comments | « no previous file | compiler/java/com/google/dart/compiler/resolver/Resolver.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java
===================================================================
--- compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java (revision 771)
+++ compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java (working copy)
@@ -121,6 +121,7 @@
INTERNAL_ERROR("internal error: %s"),
INVALID_FIELD_DECLARATION("SyntaxError: wrong syntax for field declaration"),
INVALID_OPERATOR_CHAINING("SyntaxError: cannot chain '%s'"),
+ INVALID_RETURN_IN_CONSTRUCTOR("Generative constructors cannot return arbitrary expressions"),
INVALID_TYPE_NAME_IN_CONSTRUCTOR("Invalid type in constructor name"),
IS_A_CLASS("%s is a class and cannot be used as an expression"),
IS_A_CONSTRUCTOR("%s.%s is a constructor, expected a method"),
« no previous file with comments | « no previous file | compiler/java/com/google/dart/compiler/resolver/Resolver.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698