| Index: pkg/analyzer_cli/lib/src/driver.dart
|
| diff --git a/pkg/analyzer_cli/lib/src/driver.dart b/pkg/analyzer_cli/lib/src/driver.dart
|
| index 67ca0b07db6d234d589708faf17662f0e827daee..c9c59b603f447bae82c35b3772d78474e883490d 100644
|
| --- a/pkg/analyzer_cli/lib/src/driver.dart
|
| +++ b/pkg/analyzer_cli/lib/src/driver.dart
|
| @@ -32,7 +32,6 @@ import 'package:analyzer/src/generated/utilities_general.dart'
|
| import 'package:analyzer/src/lint/registry.dart';
|
| import 'package:analyzer/src/services/lint.dart';
|
| import 'package:analyzer/src/source/source_resource.dart';
|
| -import 'package:analyzer/src/summary/idl.dart';
|
| import 'package:analyzer/src/summary/package_bundle_reader.dart';
|
| import 'package:analyzer/src/summary/summary_sdk.dart' show SummaryBasedDartSdk;
|
| import 'package:analyzer/src/task/options.dart';
|
| @@ -517,11 +516,6 @@ class Driver implements CommandLineStarter {
|
| // Once options and embedders are processed, setup the SDK.
|
| _setupSdk(options, useSummaries);
|
|
|
| - PackageBundle sdkBundle = sdk.getLinkedBundle();
|
| - if (sdkBundle != null) {
|
| - summaryDataStore.addBundle(null, sdkBundle);
|
| - }
|
| -
|
| // Choose a package resolution policy and a diet parsing policy based on
|
| // the command-line options.
|
| SourceFactory sourceFactory = _chooseUriResolutionPolicy(
|
| @@ -536,10 +530,8 @@ class Driver implements CommandLineStarter {
|
| });
|
|
|
| _context.sourceFactory = sourceFactory;
|
| - if (sdkBundle != null) {
|
| - _context.resultProvider =
|
| - new InputPackagesResultProvider(_context, summaryDataStore);
|
| - }
|
| + _context.resultProvider =
|
| + new InputPackagesResultProvider(_context, summaryDataStore);
|
| }
|
|
|
| /// Return discovered packagespec, or `null` if none is found.
|
|
|