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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/ParserErrorCode.java

Issue 17582003: Report ParserErrorCode.NORMAL_BEFORE_OPTIONAL_PARAMETERS (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/ParserErrorCode.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/ParserErrorCode.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/ParserErrorCode.java
index 9b972d30957528c45a290fe51a5b77d2e8fe7caa..4fd1cc25128287c76b8edd166fdb4bd0c08dddd8 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/ParserErrorCode.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/ParserErrorCode.java
@@ -135,6 +135,7 @@ public enum ParserErrorCode implements ErrorCode {
NON_IDENTIFIER_LIBRARY_NAME("The name of a library must be an identifier"),
NON_PART_OF_DIRECTIVE_IN_PART("The part-of directive must be the only directive in a part"),
NON_USER_DEFINABLE_OPERATOR("The operator '%s' is not user definable"),
+ NORMAL_BEFORE_OPTIONAL_PARAMETERS("Normal parameters must occur before optional parameters"),
POSITIONAL_AFTER_NAMED_ARGUMENT("Positional arguments must occur before named arguments"),
POSITIONAL_PARAMETER_OUTSIDE_GROUP(
"Positional parameters must be enclosed in square brackets ('[' and ']')"),

Powered by Google App Engine
This is Rietveld 408576698