anchor.diff:        }
       }
       return stack.single;
  -  }
  -
  -  Identifier _buildElementAst(String name, Element element) {
  -    SimpleIdentifier node = AstFactory.identifier3(name);
  -    node.staticElement = element;
  -    return node;
     }
   
     TypeName _buildTypeAst(DartType type) {
  
positive.code:         name = linkedUnit.references[i].name;
          containingReference = linkedUnit.references[i].containingReference;
        }
        ElementHandle element;
        DartType type;
        if (linkedReference.kind == ReferenceKind.unresolved) {
          type = summaryResynthesizer.typeProvider.undefinedType;
        } else if (name == 'dynamic') {
          type = summaryResynthesizer.typeProvider.dynamicType;
        } else if (name == 'void') {
          type = VoidTypeImpl.instance;
        } else {
          List<String> locationComponents;
          if (containingReference != 0 &&
  
negative.code:           EntityRef ref = uc.references[refPtr++];
            _ReferenceInfo info = resynthesizer.referenceInfos[ref.reference];
            if (info.element != null) {
              SimpleIdentifier node = AstFactory.identifier3(info.name);
              node.staticElement = info.element;
              _push(node);
            } else {
              throw new StateError('Unsupported reference ${ref.toMap()}');
  