mirror of
https://github.com/dart-lang/sdk
synced 2024-09-15 21:50:11 +00:00
Remove unnecessary imports in pkg/frontend_server
In each library where an import is removed, the library uses some elements provided by the import, BUT there is another import which provides all of the same elements, and at least one more which the library uses. In this change, we remove the imports which can be simply removed in favor of the other already present imports. See https://github.com/dart-lang/sdk/issues/44569 for more information. Change-Id: I3d4fea152048232b44db2f931a5be2c17b5c0f18 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/199463 Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Samuel Rawlins <srawlins@google.com>
This commit is contained in:
parent
0aeb8731e5
commit
a4d8a6aa34
|
@ -21,8 +21,6 @@ import 'package:dev_compiler/dev_compiler.dart'
|
|||
// that would replace api used below. This api was made private in
|
||||
// an effort to discourage further use.
|
||||
// ignore_for_file: implementation_imports
|
||||
import 'package:front_end/src/api_prototype/compiler_options.dart'
|
||||
show CompilerOptions, parseExperimentalFlags;
|
||||
import 'package:front_end/src/api_unstable/vm.dart';
|
||||
import 'package:front_end/widget_cache.dart';
|
||||
import 'package:kernel/ast.dart' show Library, Procedure, LibraryDependency;
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
// BSD-style license that can be found in the LICENSE file.
|
||||
|
||||
import 'package:kernel/ast.dart';
|
||||
import 'package:kernel/visitor.dart';
|
||||
import '../frontend_server.dart';
|
||||
|
||||
// Transformer/visitor for toString
|
||||
|
|
Loading…
Reference in a new issue