anchor.diff:          typeProvider,
           resolver.errorReporter,
           analysisOptionsImpl.strictInference,
  -        featureSet.isEnabled(Feature.control_flow_collections) ||
  -            featureSet.isEnabled(Feature.spread_collections),
           featureSet.isEnabled(Feature.non_nullable),
           migratableAstInfoProvider);
     }
  
positive.code:   final MigratableAstInfoProvider _migratableAstInfoProvider;
  
    final bool _strictInference;
    final bool _uiAsCodeEnabled;
  
    final bool _isNonNullableByDefault;
  
    factory TypedLiteralResolver(ResolverVisitor resolver, FeatureSet featureSet,
  
negative.code:         DartType iterableType = _typeProvider.iterableType(elementType);
          context = CollectionLiteralContext(
              elementType: elementType, iterableType: iterableType);
        } else if (typeArguments.length == 2) {
          DartType keyType = typeArguments[0];
          DartType valueType = typeArguments[1];
  