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

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

Issue 27179004: Issue 12103. It is warning to provide wrong number of type arguments for list/map literals. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Non-error tests. Created 7 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
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 f5596fea90c85d62d058c3d41574d93175bd3879..e0e62c1000fdeb0b60381c98e9adfb5bacfaf83f 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
@@ -62,10 +62,6 @@ public enum ParserErrorCode implements ErrorCode {
EXPECTED_LIST_OR_MAP_LITERAL("Expected a list or map literal"),
EXPECTED_STRING_LITERAL("Expected a string literal"),
EXPECTED_TOKEN("Expected to find '%s'"),
- EXPECTED_ONE_LIST_TYPE_ARGUMENTS(
- "List literal requires exactly one type arguments or none, but %d found"),
- EXPECTED_TWO_MAP_TYPE_ARGUMENTS(
- "Map literal requires exactly two type arguments or none, but %d found"),
EXPECTED_TYPE_NAME("Expected a type name"),
EXPORT_DIRECTIVE_AFTER_PART_DIRECTIVE("Export directives must preceed part directives"),
EXTERNAL_AFTER_CONST("The modifier 'external' should be before the modifier 'const'"),

Powered by Google App Engine
This is Rietveld 408576698