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

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

Issue 78223002: Fix dart2js after InternetAddress change (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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
Index: sdk/lib/_internal/lib/io_patch.dart
diff --git a/sdk/lib/_internal/lib/io_patch.dart b/sdk/lib/_internal/lib/io_patch.dart
index 069e9a80d81ab92e99aed9a3bdaa2e7756955a69..5a036058047bf116e76a64ab48248b96df49c908 100644
--- a/sdk/lib/_internal/lib/io_patch.dart
+++ b/sdk/lib/_internal/lib/io_patch.dart
@@ -220,6 +220,12 @@ patch class Process {
}
}
+class _InternetAddress {
Anders Johnsen 2013/11/20 11:57:18 This looks unused.
Søren Gjesse 2013/11/20 12:02:37 Thanks, removed.
+ _InternetAddress.parse(String address) {
+ throw new UnsupportedError("InternetAddress.lookup");
+ }
+}
+
patch class InternetAddress {
patch static InternetAddress get LOOPBACK_IP_V4 {
throw new UnsupportedError("InternetAddress.LOOPBACK_IP_V4");
@@ -233,6 +239,9 @@ patch class InternetAddress {
patch static InternetAddress get ANY_IP_V6 {
throw new UnsupportedError("InternetAddress.ANY_IP_V6");
}
+ patch InternetAddress(String address) {
+ throw new UnsupportedError("InternetAddress");
+ }
patch static Future<List<InternetAddress>> lookup(
String host, {InternetAddressType type: InternetAddressType.ANY}) {
throw new UnsupportedError("InternetAddress.lookup");
« no previous file with comments | « runtime/bin/socket_patch.dart ('k') | sdk/lib/io/socket.dart » ('j') | sdk/lib/io/socket.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698