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

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

Issue 11577022: Issue 7093. Support for inlining function references. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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/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 8dee845cd14b3d75a3d3e869c991e64f3f2e10ff..fae289ad806bc30e4d78c52bd3b43b0ef304ffe0 100644
--- a/compiler/javatests/com/google/dart/compiler/type/TypeTestCase.java
+++ b/compiler/javatests/com/google/dart/compiler/type/TypeTestCase.java
@@ -82,7 +82,7 @@ abstract class TypeTestCase extends TestCase {
DartMethodDefinition iteratorMethod = DartMethodDefinition.create(
new DartIdentifier("iterator"), new DartFunction(Collections.<DartParameter> emptyList(),
- -1, -1, 0, new DartBlock(Collections.<DartStatement> emptyList()), returnTypeNode),
+ -1, -1, -1, 0, new DartBlock(Collections.<DartStatement> emptyList()), returnTypeNode),
Modifiers.NONE, Collections.<DartInitializer> emptyList());
MethodNodeElement iteratorMethodElement = Elements.methodFromMethodNode(iteratorMethod, element);
Type returnType = Types.interfaceType(iterElement, Arrays.<Type>asList(typeVar));

Powered by Google App Engine
This is Rietveld 408576698