Index: lib/src/compiler/reify_coercions.dart |
diff --git a/lib/src/compiler/reify_coercions.dart b/lib/src/compiler/reify_coercions.dart |
index 87ea5e00003851ba9b1cf15a86ea8f7ec027405a..5d91aefdb57081dcabb07d0a2483c7d6437c2329 100644 |
--- a/lib/src/compiler/reify_coercions.dart |
+++ b/lib/src/compiler/reify_coercions.dart |
@@ -45,6 +45,12 @@ class CoercionReifier extends analyzer.GeneralizingAstVisitor<Object> { |
} |
@override |
+ visitParenthesizedExpression(ParenthesizedExpression node) { |
+ super.visitParenthesizedExpression(node); |
+ node.staticType = node.expression.staticType; |
+ } |
+ |
+ @override |
visitForEachStatement(ForEachStatement node) { |
// Visit other children. |
node.iterable.accept(this); |