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 9b38456697fd36b92e032d7267180fa1992c847b..af05ad03d305e8d33f73b6fd39db83e873a9da11 100644 |
--- a/sdk/lib/_internal/compiler/implementation/lib/io_patch.dart |
+++ b/sdk/lib/_internal/compiler/implementation/lib/io_patch.dart |
@@ -190,6 +190,13 @@ patch class Process { |
} |
} |
+patch class InternetAddress { |
+ patch static Future<List<InternetAddress>> lookup( |
+ String host, {InternetAddressType type: InternetAddressType.ANY}) { |
+ throw new UnsupportedError("InternetAddress.lookup"); |
+ } |
+} |
+ |
patch class RawServerSocket { |
patch static Future<RawServerSocket> bind([String address = "127.0.0.1", |
int port = 0, |