Index: sdk/lib/_internal/compiler/implementation/lib/io_patch.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/lib/io_patch.dart b/sdk/lib/_internal/compiler/implementation/lib/io_patch.dart |
index a34694a6ce8836a6cb4ab487ed61f3b095b69fad..2fa96f22b0fa84ae60d48e2232c141806c949a6d 100644 |
--- a/sdk/lib/_internal/compiler/implementation/lib/io_patch.dart |
+++ b/sdk/lib/_internal/compiler/implementation/lib/io_patch.dart |
@@ -213,17 +213,17 @@ patch class InternetAddress { |
} |
patch class RawServerSocket { |
- patch static Future<RawServerSocket> bind([String address = "127.0.0.1", |
- int port = 0, |
- int backlog = 0]) { |
+ patch static Future<RawServerSocket> bind(address, |
+ int port, |
+ {int backlog: 0}) { |
throw new UnsupportedError("RawServerSocket.bind"); |
} |
} |
patch class ServerSocket { |
- patch static Future<ServerSocket> bind([String address = "127.0.0.1", |
- int port = 0, |
- int backlog = 0]) { |
+ patch static Future<ServerSocket> bind(address, |
+ int port, |
+ {int backlog: 0}) { |
throw new UnsupportedError("ServerSocket.bind"); |
} |
} |