Index: pkg/compiler/lib/src/tree_ir/optimization/statement_rewriter.dart |
diff --git a/pkg/compiler/lib/src/tree_ir/optimization/statement_rewriter.dart b/pkg/compiler/lib/src/tree_ir/optimization/statement_rewriter.dart |
index 7b79cfd67b77b7e0adf254554efaefb6ae54b21d..f845e43a340000e6b7d2f7dfa227cf34e184e0f6 100644 |
--- a/pkg/compiler/lib/src/tree_ir/optimization/statement_rewriter.dart |
+++ b/pkg/compiler/lib/src/tree_ir/optimization/statement_rewriter.dart |
@@ -572,7 +572,8 @@ class StatementRewriter extends Transformer implements Pass { |
} |
Expression visitTypeOperator(TypeOperator node) { |
- node.receiver = visitExpression(node.receiver); |
+ _rewriteList(node.typeArguments); |
+ node.value = visitExpression(node.value); |
return node; |
} |