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

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

Issue 10828355: Issue 4289. Test that arguments are bound to positional, optional and named parameters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Prepare for making optional parameter not named Created 8 years, 4 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 ea1d9cc4ebf6981e71bc6b5cf786cfd9de19029a..d70892a697a90a00ad0a73f770e73305c5847dc7 100644
--- a/compiler/javatests/com/google/dart/compiler/type/TypeTestCase.java
+++ b/compiler/javatests/com/google/dart/compiler/type/TypeTestCase.java
@@ -124,7 +124,7 @@ abstract class TypeTestCase extends TestCase {
static FunctionType ftype(ClassElement element, Type returnType,
Map<String, Type> namedParameterTypes, Type rest, Type... arguments) {
- return FunctionTypeImplementation.of(element, Arrays.asList(arguments), namedParameterTypes,
+ return FunctionTypeImplementation.of(element, Arrays.asList(arguments), null, namedParameterTypes,
rest, returnType);
}

Powered by Google App Engine
This is Rietveld 408576698