| Index: pkg/analyzer/lib/src/generated/static_type_analyzer.dart
|
| diff --git a/pkg/analyzer/lib/src/generated/static_type_analyzer.dart b/pkg/analyzer/lib/src/generated/static_type_analyzer.dart
|
| index 633385c13f30da53109042fe70b5f8f53300d978..1c5b9996a579c52c77f2cc605950147e4ee57ab8 100644
|
| --- a/pkg/analyzer/lib/src/generated/static_type_analyzer.dart
|
| +++ b/pkg/analyzer/lib/src/generated/static_type_analyzer.dart
|
| @@ -199,7 +199,6 @@ class StaticTypeAnalyzer extends SimpleAstVisitor<Object> {
|
|
|
| ParameterizedType inferMapType(MapLiteral node, {bool downwards: false}) {
|
| DartType contextType = InferenceContext.getContext(node);
|
| -
|
| List<DartType> elementTypes;
|
| List<ParameterElement> parameters;
|
| if (downwards) {
|
| @@ -229,7 +228,9 @@ class StaticTypeAnalyzer extends SimpleAstVisitor<Object> {
|
| var ts = _typeSystem as StrongTypeSystemImpl;
|
| ParameterizedType inferred = ts.inferGenericFunctionOrType(
|
| _typeProvider.mapType, parameters, elementTypes, contextType,
|
| - errorReporter: _resolver.errorReporter, errorNode: node);
|
| + downwards: downwards,
|
| + errorReporter: _resolver.errorReporter,
|
| + errorNode: node);
|
| return inferred;
|
| }
|
|
|
|
|