Index: pkg/compiler/lib/src/cps_ir/inline.dart |
diff --git a/pkg/compiler/lib/src/cps_ir/inline.dart b/pkg/compiler/lib/src/cps_ir/inline.dart |
index 87892d3a1fe888ce912bfbe58baa9ef96d9bd7d7..32c2f0b02f9a6490aad502bc013acec5b7daac7f 100644 |
--- a/pkg/compiler/lib/src/cps_ir/inline.dart |
+++ b/pkg/compiler/lib/src/cps_ir/inline.dart |
@@ -374,6 +374,7 @@ class InliningVisitor extends TrampolineRecursiveVisitor { |
Primitive result = cps.invokeMethod(thisParameter, newSelector, node.mask, |
arguments, node.callingConvention); |
result.type = typeSystem.getInvokeReturnType(node.selector, node.mask); |
+ returnContinuation.parameters.single.type = result.type; |
cps.invokeContinuation(returnContinuation, <Primitive>[result]); |
return new FunctionDefinition(target, thisParameter, parameters, |
returnContinuation, |