anchor.diff:          modifiers: modifiers,
           returnType: function.returnType.toStringInternal(),
           type: functionType.toStringInternal());
  -    state.entityToInfo[functionEntity] = info;
   
       if (function.parent is ir.Member)
         _addClosureInfo(info, function.parent,
  
positive.code:     if (libname == null || libname.isEmpty) {
        libname = '${lib.importUri}';
      }
  
      LibraryInfo info = LibraryInfo(libname, lib.importUri, null, null);
      state.entityToInfo[libEntity] = info;
  
      lib.members.forEach((ir.Member member) {
        final memberEntity =
  
negative.code:         'Ambiguous closure resolution. '
          'Expected singleton, found $kClosureInfos');
      final kClosureInfo = kClosureInfos.first;
      kernelInfo.state.entityToInfo[element] = kClosureInfo;
  
      kClosureInfo.outputUnit = _unitInfoForClass(element);
      kClosureInfo.size = dumpInfoTask.sizeOf(element);
  