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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java

Issue 19018005: NEW_WITH_INVALID_TYPE_PARAMETERS is warning (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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 | editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/StaticWarningCode.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java
index d2eec82df1acce415396bd505042daf7b702efce..d1d58e4744beea6bd6c7319c0ef3aa35211c6887 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java
@@ -872,19 +872,6 @@ public enum CompileTimeErrorCode implements ErrorCode {
MULTIPLE_SUPER_INITIALIZERS("Constructor may have at most one 'super' initializer"),
/**
- * 12.11.1 New: It is a compile time error if <i>S</i> is not a generic type with <i>m</i> type
- * parameters.
- *
- * @param typeName the name of the type being referenced (<i>S</i>)
- * @param parameterCount the number of type parameters that were declared
- * @param argumentCount the number of type arguments provided
- * @see CompileTimeErrorCode#CONST_WITH_INVALID_TYPE_PARAMETERS
- * @see StaticTypeWarningCode#WRONG_NUMBER_OF_TYPE_ARGUMENTS
- */
- NEW_WITH_INVALID_TYPE_PARAMETERS(
- "The type '%s' is declared with %d type parameters, but %d type arguments were given"),
-
- /**
* 11 Metadata: Metadata consists of a series of annotations, each of which begin with the
* character @, followed by a constant expression that must be either a reference to a
* compile-time constant variable, or a call to a constant constructor.
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/StaticWarningCode.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698