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"); |