Bump Dart SDK to 1.25.0-dev.9.0 (#11509)

* Bump Dart SDK to 1.25.0-dev.9.0

* add link to sdk bug
This commit is contained in:
Alexandre Ardhuin
2017-08-09 14:45:55 +02:00
committed by GitHub
parent 3b76e7e258
commit 8a88e2efca
12 changed files with 20 additions and 19 deletions

View File

@@ -421,7 +421,7 @@ class _IOSDevicePortForwarder extends DevicePortForwarder {
List<ForwardedPort> get forwardedPorts => _forwardedPorts;
@override
Future<int> forward(int devicePort, {int hostPort: null}) async {
Future<int> forward(int devicePort, {int hostPort}) async {
if ((hostPort == null) || (hostPort == 0)) {
// Auto select host port.
hostPort = await portScanner.findAvailablePort();

View File

@@ -697,7 +697,7 @@ class _IOSSimulatorDevicePortForwarder extends DevicePortForwarder {
}
@override
Future<int> forward(int devicePort, {int hostPort: null}) async {
Future<int> forward(int devicePort, {int hostPort}) async {
if ((hostPort == null) || (hostPort == 0)) {
hostPort = devicePort;
}