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

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

Issue 25605002: 'const' instance creation with incompatible argument types is statis warning. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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/internal/verifier/ErrorVerifier.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 0cfa37833655848e2c4c66f973c3146391e3f2a4..7f0f1ceafcea0128181f99195603b18b79e96361 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
@@ -42,20 +42,6 @@ public enum CompileTimeErrorCode implements ErrorCode {
ARGUMENT_DEFINITION_TEST_NON_PARAMETER("'%s' is not a parameter"),
/**
- * 12.14.2 Binding Actuals to Formals: In checked mode, it is a dynamic type error if
- * <i>o<sub>i</sub></i> is not <b>null</b> and the actual type of <i>p<sub>i</sub></i> is not a
- * supertype of the type of <i>o<sub>i</sub></i>, i = 1..m.
- * <p>
- * 12.11.2 Const: It is a compile-time error if evaluation of a constant object results in an
- * uncaught exception being thrown.
- *
- * @param requiredCount the maximum number of positional arguments
- * @param argumentCount the actual number of positional arguments given
- */
- ARGUMENT_TYPE_NOT_ASSIGNABLE(
- "The argument type '%s' cannot be assigned to the parameter type '%s'"),
-
- /**
* 12.30 Identifier Reference: It is a compile-time error to use a built-in identifier other than
* dynamic as a type annotation.
*/
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/verifier/ErrorVerifier.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698