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

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

Issue 9270016: Issue 932. Checks for various named arguments cases. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Tweaks for comments, changes in tests. Created 8 years, 11 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 7dfc1e567e2f6146bb52fb1aa6322f3c632341f6..3df49f7ab0bf551061f2b4fa2fc5e1dabe5f0a90 100644
--- a/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
+++ b/compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
@@ -69,6 +69,7 @@ public enum ResolverErrorCode implements ErrorCode {
DUPLICATE_LOCAL_VARIABLE_WARNING(ErrorSeverity.WARNING,
"Local variable '%s' is hiding '%s' at %s"),
DUPLICATE_MEMBER("Duplicate member '%s'"),
+ DUPLICATE_NAMED_ARGUMENT("Duplicate named parameter argument"),
DUPLICATE_PARAMETER(ErrorSeverity.ERROR, "Duplicate parameter '%s'"),
DUPLICATE_PARAMETER_WARNING(ErrorSeverity.WARNING, "Parameter '%s' is hiding '%s' at %s"),
DUPLICATE_TOP_LEVEL_DEFINITION("duplicate top-level definition '%s'"),

Powered by Google App Engine
This is Rietveld 408576698