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

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

Issue 8956047: This adds a unit test to show the type checking functionality missing in dartc (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated test, $chk() can sneak in another way Created 9 years 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/TypeErrorCode.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java b/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java
index 5ec939090c6f1cf8c6c9c3b007e027801c0181d6..c999a121852fb33cda2cfe23f0d77746bbaa4f96 100644
--- a/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java
+++ b/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java
@@ -46,7 +46,7 @@ public enum TypeErrorCode implements ErrorCode {
TYPE_NOT_ASSIGNMENT_COMPATIBLE("%s is not assignable to %s"),
USE_ASSIGNMENT_ON_SETTER("Use assignment to set field \"%s\" in %s"),
VOID("expression does not yield a value"),
- WRONG_NUMBER_OF_TYPE_ARGUMENTS("%s: wrong number of type arguments");
+ WRONG_NUMBER_OF_TYPE_ARGUMENTS("%s: wrong number of type arguments, Expected %d");
private final ErrorSeverity severity;
private final String message;

Powered by Google App Engine
This is Rietveld 408576698