anchor.diff:      }
       int timeStamp = state == ResultState.VALID ? 0 : -1;
   
  -    CompilationUnit unit = result.unit;
  -    CompilationUnitElement declaredUnit = unit.declaredElement;
  +    CompilationUnitElement declaredUnit = result.unit.declaredElement;
       CompilationUnitElement libraryUnit =
           declaredUnit.library.definingCompilationUnit;
   
  
positive.code: class DartFileEditBuilderImpl extends FileEditBuilderImpl
      implements DartFileEditBuilder {
    /**
     * The session that analyzed this file.
     */
    final AnalysisSession session;
  
    /**
     * The compilation unit to which the code will be added.
     */
    final CompilationUnit unit;
  
    /**
     * The target library, which contains the [unit].
     */
    final LibraryElement libraryElement;
  
    /**
     * The change builder for the library
  
negative.code:       });
      }
  
      return DartFileEditBuilderImpl(this, result, timeStamp, libraryEditBuilder);
    }
  }
  
  