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

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

Issue 8948001: Updates dartc to recognize 'default' keyword on interface and updated factory method syntax (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Got rid of some problems. 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/javatests/com/google/dart/compiler/type/FunctionTypeTest.java
diff --git a/compiler/javatests/com/google/dart/compiler/type/FunctionTypeTest.java b/compiler/javatests/com/google/dart/compiler/type/FunctionTypeTest.java
index 55e367edd7d96e728039bdcefc25271040b6ecf6..5e893b917eb4d1bd635526ea597c554fb7e4cc0d 100644
--- a/compiler/javatests/com/google/dart/compiler/type/FunctionTypeTest.java
+++ b/compiler/javatests/com/google/dart/compiler/type/FunctionTypeTest.java
@@ -79,11 +79,10 @@ public class FunctionTypeTest extends TypeTestCase {
assertEquals(stringAndIntToMap, stringAndIntToMapS.subst(args, vars));
FunctionType oAndNamedToO = FunctionTypeImplementation.of(function, Arrays.<Type>asList(o),
- named(itype(string), "arg"), null, o,
- null);
+ named(itype(string), "arg"), null, o);
assertEquals(objectAndNamedStringToObject, oAndNamedToO.subst(args, vars));
- Type osToO = FunctionTypeImplementation.of(function, Arrays.<Type>asList(), null, o, o, null);
+ Type osToO = FunctionTypeImplementation.of(function, Arrays.<Type>asList(), null, o, o);
assertEquals(objectsToObject, osToO.subst(args, vars));
}

Powered by Google App Engine
This is Rietveld 408576698