anchor.diff:  import 'package:analyzer/dart/element/scope.dart';
   import 'package:analyzer/error/listener.dart';
   import 'package:analyzer/src/dart/ast/utilities.dart';
  -import 'package:analyzer/src/dart/resolver/scope.dart';
   import 'package:analyzer/src/error/codes.dart';
   
   /// Helper for [MethodInvocation]s into [InstanceCreationExpression] to support
  
positive.code:         }
        } else if (element is PrefixElement) {
          // Possible cases: p.C() or p.C<>()
          Identifier identifier = astFactory.prefixedIdentifier(
              astFactory.simpleIdentifier(target.token),
              null,
              astFactory.simpleIdentifier(methodName.token));
          Element prefixedElement = nameScope.lookupIdentifier(identifier);
          if (prefixedElement is ClassElement) {
            TypeName typeName = astFactory.typeName(
                astFactory.prefixedIdentifier(target, node.operator, methodName),
  
negative.code:         // This isn't a constructor invocation because it's in a cascade.
          return node;
        }
        Element element = nameScope.lookup2(methodName.name).getter;
        if (element is ClassElement) {
          TypeName typeName = astFactory.typeName(methodName, node.typeArguments);
          ConstructorName constructorName =
  