| Index: pkg/compiler/lib/src/closure.dart
|
| diff --git a/pkg/compiler/lib/src/closure.dart b/pkg/compiler/lib/src/closure.dart
|
| index 46219a33ac29ccc264bde6431b51024c7609aa6c..93e7bb2c2b87e60d99bc6d8ac0dcad80f3a7c8c9 100644
|
| --- a/pkg/compiler/lib/src/closure.dart
|
| +++ b/pkg/compiler/lib/src/closure.dart
|
| @@ -731,6 +731,18 @@ class ClosureTranslator extends Visitor {
|
| node.visitChildren(this);
|
| }
|
|
|
| + visitLiteralList(LiteralList node) {
|
| + DartType type = elements.getType(node);
|
| + analyzeType(type);
|
| + node.visitChildren(this);
|
| + }
|
| +
|
| + visitLiteralMap(LiteralMap node) {
|
| + DartType type = elements.getType(node);
|
| + analyzeType(type);
|
| + node.visitChildren(this);
|
| + }
|
| +
|
| void analyzeTypeVariables(DartType type) {
|
| type.forEachTypeVariable((TypeVariableType typeVariable) {
|
| // Field initializers are inlined and access the type variable as
|
|
|