forked from firka/flutter
enable combinators_ordering (#107847)
This commit is contained in:
committed by
GitHub
parent
891777d6ed
commit
ccd33631e3
@@ -3,7 +3,7 @@
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'dart:convert';
|
||||
import 'dart:io' as io show Directory, File, Link, ProcessException, ProcessResult, ProcessSignal, systemEncoding, Process, ProcessStartMode;
|
||||
import 'dart:io' as io show Directory, File, Link, Process, ProcessException, ProcessResult, ProcessSignal, ProcessStartMode, systemEncoding;
|
||||
import 'dart:typed_data';
|
||||
|
||||
import 'package:file/file.dart';
|
||||
|
||||
@@ -34,21 +34,21 @@
|
||||
import 'dart:async';
|
||||
import 'dart:io' as io
|
||||
show
|
||||
exit,
|
||||
IOSink,
|
||||
InternetAddress,
|
||||
InternetAddressType,
|
||||
IOSink,
|
||||
NetworkInterface,
|
||||
pid,
|
||||
Process,
|
||||
ProcessInfo,
|
||||
ProcessSignal,
|
||||
stderr,
|
||||
stdin,
|
||||
Stdin,
|
||||
StdinException,
|
||||
Stdout,
|
||||
StdoutException,
|
||||
exit,
|
||||
pid,
|
||||
stderr,
|
||||
stdin,
|
||||
stdout;
|
||||
|
||||
import 'package:file/file.dart';
|
||||
@@ -63,10 +63,8 @@ export 'dart:io'
|
||||
BytesBuilder,
|
||||
CompressionOptions,
|
||||
// Directory, NO! Use `file_system.dart`
|
||||
exitCode,
|
||||
// File, NO! Use `file_system.dart`
|
||||
// FileSystemEntity, NO! Use `file_system.dart`
|
||||
gzip,
|
||||
GZipCodec,
|
||||
HandshakeException,
|
||||
HttpClient,
|
||||
@@ -79,14 +77,13 @@ export 'dart:io'
|
||||
HttpResponse,
|
||||
HttpServer,
|
||||
HttpStatus,
|
||||
InternetAddress,
|
||||
InternetAddressType,
|
||||
IOException,
|
||||
IOSink,
|
||||
InternetAddress,
|
||||
InternetAddressType,
|
||||
// Link NO! Use `file_system.dart`
|
||||
// NetworkInterface NO! Use `io.dart`
|
||||
OSError,
|
||||
pid,
|
||||
// Platform NO! use `platform.dart`
|
||||
Process,
|
||||
ProcessException,
|
||||
@@ -97,19 +94,22 @@ export 'dart:io'
|
||||
// RandomAccessFile NO! Use `file_system.dart`
|
||||
ServerSocket,
|
||||
SignalException,
|
||||
// stderr, NO! Use `io.dart`
|
||||
// stdin, NO! Use `io.dart`
|
||||
Stdin,
|
||||
StdinException,
|
||||
// stdout, NO! Use `io.dart`
|
||||
Stdout,
|
||||
Socket,
|
||||
SocketException,
|
||||
systemEncoding,
|
||||
Stdin,
|
||||
StdinException,
|
||||
Stdout,
|
||||
WebSocket,
|
||||
WebSocketException,
|
||||
WebSocketTransformer,
|
||||
ZLibEncoder;
|
||||
ZLibEncoder,
|
||||
exitCode,
|
||||
gzip,
|
||||
pid,
|
||||
// stderr, NO! Use `io.dart`
|
||||
// stdin, NO! Use `io.dart`
|
||||
// stdout, NO! Use `io.dart`
|
||||
systemEncoding;
|
||||
|
||||
/// Exits the process with the given [exitCode].
|
||||
typedef ExitFunction = void Function(int exitCode);
|
||||
|
||||
@@ -10,7 +10,7 @@ import 'package:meta/meta.dart';
|
||||
import '../convert.dart';
|
||||
import 'common.dart';
|
||||
import 'io.dart';
|
||||
import 'terminal.dart' show Terminal, TerminalColor, OutputPreferences;
|
||||
import 'terminal.dart' show OutputPreferences, Terminal, TerminalColor;
|
||||
import 'utils.dart';
|
||||
|
||||
const int kDefaultStatusPadding = 59;
|
||||
|
||||
@@ -42,7 +42,7 @@ import 'flutter_cache.dart';
|
||||
import 'flutter_device_manager.dart';
|
||||
import 'flutter_features.dart';
|
||||
import 'fuchsia/fuchsia_device.dart' show FuchsiaDeviceTools;
|
||||
import 'fuchsia/fuchsia_sdk.dart' show FuchsiaSdk, FuchsiaArtifacts;
|
||||
import 'fuchsia/fuchsia_sdk.dart' show FuchsiaArtifacts, FuchsiaSdk;
|
||||
import 'fuchsia/fuchsia_workflow.dart' show FuchsiaWorkflow, fuchsiaWorkflow;
|
||||
import 'globals.dart' as globals;
|
||||
import 'ios/ios_workflow.dart';
|
||||
|
||||
@@ -5,12 +5,12 @@
|
||||
// Hide the original utf8 [Codec] so that we can export our own implementation
|
||||
// which adds additional error handling.
|
||||
import 'dart:convert' hide utf8;
|
||||
import 'dart:convert' as cnv show utf8, Utf8Decoder;
|
||||
import 'dart:convert' as cnv show Utf8Decoder, utf8;
|
||||
|
||||
import 'package:meta/meta.dart';
|
||||
|
||||
import 'base/common.dart';
|
||||
export 'dart:convert' hide utf8, Utf8Codec, Utf8Decoder;
|
||||
export 'dart:convert' hide Utf8Codec, Utf8Decoder, utf8;
|
||||
|
||||
/// The original utf8 encoding for testing overrides only.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user