From 66a7193c5bbc1400d67c135d679c4002133f4f91 Mon Sep 17 00:00:00 2001 From: Mike Fairhurst Date: Mon, 21 Sep 2020 22:13:40 -0700 Subject: [PATCH] Remove unused dart:async imports Since Dart 2.1, Future and Stream have been exported from dart:core --- bin/src/deferred_library_check.dart | 1 - lib/src/io.dart | 1 - test/hello_world_deferred/hello_world_deferred.dart | 1 - 3 files changed, 3 deletions(-) diff --git a/bin/src/deferred_library_check.dart b/bin/src/deferred_library_check.dart index 4244b14496b3..5493c66be402 100644 --- a/bin/src/deferred_library_check.dart +++ b/bin/src/deferred_library_check.dart @@ -35,7 +35,6 @@ /// specification. library dart2js_info.bin.deferred_library_check; -import 'dart:async'; import 'dart:io'; import 'package:args/command_runner.dart'; diff --git a/lib/src/io.dart b/lib/src/io.dart index 90825e03f6c3..b37c33199f5b 100644 --- a/lib/src/io.dart +++ b/lib/src/io.dart @@ -1,4 +1,3 @@ -import 'dart:async'; import 'dart:convert'; import 'dart:io'; diff --git a/test/hello_world_deferred/hello_world_deferred.dart b/test/hello_world_deferred/hello_world_deferred.dart index d4987018a60c..9baf023da0ee 100644 --- a/test/hello_world_deferred/hello_world_deferred.dart +++ b/test/hello_world_deferred/hello_world_deferred.dart @@ -1,4 +1,3 @@ -import 'dart:async'; import 'deferred_import.dart' deferred as deferred_import; Future main() async {