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

Unified Diff: pkg/kernel/lib/transformations/closure/converter.dart

Issue 2713163002: Pass type arguments as a list in generic methods invocations (Closed)
Patch Set: Simplify 'isGenericMethod' procedure Created 3 years, 9 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: pkg/kernel/lib/transformations/closure/converter.dart
diff --git a/pkg/kernel/lib/transformations/closure/converter.dart b/pkg/kernel/lib/transformations/closure/converter.dart
index 9ebd806e1dd6344c1593c272fb21142a0446fb86..eb1ab569650577af8b38a0d2357110863301d035 100644
--- a/pkg/kernel/lib/transformations/closure/converter.dart
+++ b/pkg/kernel/lib/transformations/closure/converter.dart
@@ -739,7 +739,7 @@ class ClosureConverter extends Transformer {
positionalParameters: positionalParameters,
namedParameters: namedParameters,
requiredParameterCount: function.requiredParameterCount,
- returnType: substitute(function.returnType, substitution),
+ returnType: substitute(function.returnType, cloner.typeSubstitution),
inferredReturnValue: inferredReturnValue);
}
« no previous file with comments | « pkg/kernel/lib/target/vmreify.dart ('k') | pkg/kernel/lib/transformations/reify/transformation/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698