anchor.diff:        var unit = parseText(text, featureSet);
   
         var inputUnits = <LinkInputUnit>[];
  -      _addLibraryUnits(source, unit, inputUnits);
  +      _addLibraryUnits(source, unit, inputUnits, featureSet);
         inputLibraries.add(
           LinkInputLibrary(source, inputUnits),
         );
  
positive.code:     var unit = parseText(text, featureSet);
  
      var units = <LinkInputUnit>[];
      _addLibraryUnits(source, unit, units);
      libraries.add(
        LinkInputLibrary(source, units),
      );
  
negative.code: class ResynthesizeAst2Test extends AbstractResynthesizeTest
      with ResynthesizeTestCases {
    /// The shared SDK bundle, computed once and shared among test invocations.
    static _SdkBundle _sdkBundle;
  
    _SdkBundle get sdkBundle {
      if (_sdkBundle != null) {
        return _sdkBundle;
      }
  
      var featureSet = FeatureSet.latestLanguageVersion();
      var inputLibraries = <LinkInputLibrary>[];
      for (var sdkLibrary in sdk.sdkLibraries) {
        var source = sourceFactory.resolveUri(null, sdkLibrary.shortName);
  