Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(581)

Unified Diff: sdk/lib/_internal/compiler/implementation/lib/io_patch.dart

Issue 14640008: Change the signature for all network bind calls. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments by whesse@ Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/socket_patch.dart ('k') | sdk/lib/io/http.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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");
}
}
« no previous file with comments | « runtime/bin/socket_patch.dart ('k') | sdk/lib/io/http.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698