| Index: runtime/bin/socket_patch.dart
|
| diff --git a/runtime/bin/socket_patch.dart b/runtime/bin/socket_patch.dart
|
| index 49fca7986e6744b6ae40c12f1a0c81357d327760..789dd001399664a3632d3f8e33467a49e198f5bb 100644
|
| --- a/runtime/bin/socket_patch.dart
|
| +++ b/runtime/bin/socket_patch.dart
|
| @@ -36,6 +36,10 @@ patch class InternetAddress {
|
| return _InternetAddress.ANY_IP_V6;
|
| }
|
|
|
| + /* patch */ factory InternetAddress(String address) {
|
| + return new _InternetAddress.parse(address);
|
| + }
|
| +
|
| /* patch */ static Future<List<InternetAddress>> lookup(
|
| String host, {InternetAddressType type: InternetAddressType.ANY}) {
|
| return _NativeSocket.lookup(host, type: type);
|
|
|