Index: pkg/kernel/lib/transformations/closure/rewriter.dart |
diff --git a/pkg/kernel/lib/transformations/closure/rewriter.dart b/pkg/kernel/lib/transformations/closure/rewriter.dart |
index ea272605ea11bc3d4637701e4f004404ce355ef5..dd139de35033c7d783f511db162d62772b1f0a00 100644 |
--- a/pkg/kernel/lib/transformations/closure/rewriter.dart |
+++ b/pkg/kernel/lib/transformations/closure/rewriter.dart |
@@ -35,7 +35,7 @@ abstract class AstRewriter { |
// works as a link to the parent context. |
vectorCreation = new VectorCreation(2); |
contextDeclaration = new VariableDeclaration.forValue(vectorCreation, |
- type: new VectorType()); |
+ type: const DynamicType()); |
contextDeclaration.name = "#context"; |
} |
} |