From f846d0e7ea07ddff07da967818b32b0df1ceeb2b Mon Sep 17 00:00:00 2001 From: Mike Fairhurst Date: Wed, 2 Sep 2020 17:38:37 +0000 Subject: [PATCH] [analyzer_cli] Remove unused dart:async imports Change-Id: I58d1ca58e6d630aee928c6a7cb7fc97822a3be22 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/161449 Auto-Submit: Mike Fairhurst Commit-Queue: Konstantin Shcheglov Reviewed-by: Konstantin Shcheglov --- pkg/analyzer_cli/lib/src/analyzer_impl.dart | 1 - pkg/analyzer_cli/lib/src/batch_mode.dart | 1 - pkg/analyzer_cli/lib/src/build_mode.dart | 1 - pkg/analyzer_cli/lib/src/driver.dart | 1 - pkg/analyzer_cli/lib/starter.dart | 1 - pkg/analyzer_cli/test/analysis_options_test.dart | 1 - pkg/analyzer_cli/test/build_mode_test.dart | 2 -- pkg/analyzer_cli/test/driver_test.dart | 1 - pkg/analyzer_cli/test/package_prefix_test.dart | 1 - pkg/analyzer_cli/test/utils.dart | 1 - pkg/analyzer_cli/tool/perf.dart | 1 - 11 files changed, 12 deletions(-) diff --git a/pkg/analyzer_cli/lib/src/analyzer_impl.dart b/pkg/analyzer_cli/lib/src/analyzer_impl.dart index 2f6c5aedfce..4294f1caf57 100644 --- a/pkg/analyzer_cli/lib/src/analyzer_impl.dart +++ b/pkg/analyzer_cli/lib/src/analyzer_impl.dart @@ -2,7 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -import 'dart:async'; import 'dart:io'; import 'package:analyzer/dart/analysis/results.dart'; diff --git a/pkg/analyzer_cli/lib/src/batch_mode.dart b/pkg/analyzer_cli/lib/src/batch_mode.dart index 3a34b88d5e2..995af86b977 100644 --- a/pkg/analyzer_cli/lib/src/batch_mode.dart +++ b/pkg/analyzer_cli/lib/src/batch_mode.dart @@ -2,7 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -import 'dart:async'; import 'dart:convert'; import 'dart:io' show exitCode, stdin; diff --git a/pkg/analyzer_cli/lib/src/build_mode.dart b/pkg/analyzer_cli/lib/src/build_mode.dart index 7bdcc3b6a31..df41c5eb39a 100644 --- a/pkg/analyzer_cli/lib/src/build_mode.dart +++ b/pkg/analyzer_cli/lib/src/build_mode.dart @@ -2,7 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -import 'dart:async'; import 'dart:io' as io; import 'dart:isolate'; diff --git a/pkg/analyzer_cli/lib/src/driver.dart b/pkg/analyzer_cli/lib/src/driver.dart index ead05a38528..832785aa339 100644 --- a/pkg/analyzer_cli/lib/src/driver.dart +++ b/pkg/analyzer_cli/lib/src/driver.dart @@ -2,7 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -import 'dart:async'; import 'dart:io' as io; import 'dart:isolate'; diff --git a/pkg/analyzer_cli/lib/starter.dart b/pkg/analyzer_cli/lib/starter.dart index 0475ba89032..ad8e268dc5e 100644 --- a/pkg/analyzer_cli/lib/starter.dart +++ b/pkg/analyzer_cli/lib/starter.dart @@ -2,7 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -import 'dart:async'; import 'dart:isolate'; import 'package:analyzer_cli/src/driver.dart'; diff --git a/pkg/analyzer_cli/test/analysis_options_test.dart b/pkg/analyzer_cli/test/analysis_options_test.dart index b3d9a3baf16..d112a6e76b7 100644 --- a/pkg/analyzer_cli/test/analysis_options_test.dart +++ b/pkg/analyzer_cli/test/analysis_options_test.dart @@ -2,7 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -import 'dart:async'; import 'dart:io'; import 'package:analyzer_cli/src/driver.dart' show Driver, outSink, errorSink; diff --git a/pkg/analyzer_cli/test/build_mode_test.dart b/pkg/analyzer_cli/test/build_mode_test.dart index aee38309ca3..5027e1f84be 100644 --- a/pkg/analyzer_cli/test/build_mode_test.dart +++ b/pkg/analyzer_cli/test/build_mode_test.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -import 'dart:async'; - import 'package:analyzer/file_system/memory_file_system.dart'; import 'package:analyzer_cli/src/build_mode.dart'; import 'package:analyzer_cli/src/driver.dart'; diff --git a/pkg/analyzer_cli/test/driver_test.dart b/pkg/analyzer_cli/test/driver_test.dart index cc8ae522c3b..b19066c5d41 100644 --- a/pkg/analyzer_cli/test/driver_test.dart +++ b/pkg/analyzer_cli/test/driver_test.dart @@ -2,7 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -import 'dart:async'; import 'dart:io'; import 'package:analyzer/error/error.dart'; diff --git a/pkg/analyzer_cli/test/package_prefix_test.dart b/pkg/analyzer_cli/test/package_prefix_test.dart index 8112b0b42ab..fbe8aac04e9 100644 --- a/pkg/analyzer_cli/test/package_prefix_test.dart +++ b/pkg/analyzer_cli/test/package_prefix_test.dart @@ -2,7 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -import 'dart:async'; import 'dart:io' show exitCode; import 'package:analyzer_cli/src/driver.dart' show Driver, outSink, errorSink; diff --git a/pkg/analyzer_cli/test/utils.dart b/pkg/analyzer_cli/test/utils.dart index a7c3640c4ea..fb32e0875a2 100644 --- a/pkg/analyzer_cli/test/utils.dart +++ b/pkg/analyzer_cli/test/utils.dart @@ -2,7 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -import 'dart:async'; import 'dart:io'; import 'dart:mirrors'; diff --git a/pkg/analyzer_cli/tool/perf.dart b/pkg/analyzer_cli/tool/perf.dart index b23105da55a..bd940850d6c 100644 --- a/pkg/analyzer_cli/tool/perf.dart +++ b/pkg/analyzer_cli/tool/perf.dart @@ -3,7 +3,6 @@ // BSD-style license that can be found in the LICENSE file. /// An entrypoint used to run portions of analyzer and measure its performance. -import 'dart:async'; import 'dart:io' show exit; import 'package:analyzer/dart/analysis/features.dart';