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

Unified Diff: compiler/javatests/com/google/dart/compiler/type/TypeTestCase.java

Issue 9270016: Issue 932. Checks for various named arguments cases. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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/type/TypeTestCase.java
diff --git a/compiler/javatests/com/google/dart/compiler/type/TypeTestCase.java b/compiler/javatests/com/google/dart/compiler/type/TypeTestCase.java
index 4e514964abb31d304536e40539ec4950fb8306d1..c9d8b82559c99c6867c76ff578e8a07292b55dab 100644
--- a/compiler/javatests/com/google/dart/compiler/type/TypeTestCase.java
+++ b/compiler/javatests/com/google/dart/compiler/type/TypeTestCase.java
@@ -83,7 +83,7 @@ abstract class TypeTestCase extends TestCase {
Modifiers.NONE,
Collections.<DartInitializer>emptyList());
MethodElement iteratorMethodElement = Elements.methodFromMethodNode(iteratorMethod, element);
- Type returnType = Types.interfaceType(iterElement, Arrays.asList(typeVar));
+ Type returnType = Types.interfaceType(iterElement, Arrays.<Type>asList(typeVar));
FunctionType functionType = ftype(function, returnType, Collections.<String,Type>emptyMap(),
null);
Elements.setType(iteratorMethodElement, functionType);

Powered by Google App Engine
This is Rietveld 408576698