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

Unified Diff: compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.java

Issue 8322014: Adds static type checking to the foreach loop. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased past r505 (Array -> List in TATs) Created 9 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: compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.java
diff --git a/compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.java b/compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.java
index 6d789f330c59298fe482fd1bed795eb8af1b7ee1..a4c64854531d2c8b2e516ae5bc024a35b2fbab82 100644
--- a/compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.java
+++ b/compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.java
@@ -238,6 +238,11 @@ abstract class ResolverTestCase extends TestCase {
public InterfaceType getIsolateType() {
throw new AssertionError();
}
+
+ @Override
+ public InterfaceType getIteratorType(Type elementType) {
+ throw new AssertionError();
+ }
}
protected static DartTypeNode makeType(String name, String... arguments) {

Powered by Google App Engine
This is Rietveld 408576698