Chromium Code Reviews| Index: sdk/lib/io/socket.dart |
| diff --git a/sdk/lib/io/socket.dart b/sdk/lib/io/socket.dart |
| index 11d0ec505bb7773cbc7deda727543f10c67075ec..dfb440e9d6e8d0ceae9804613fd46698f61b9a39 100644 |
| --- a/sdk/lib/io/socket.dart |
| +++ b/sdk/lib/io/socket.dart |
| @@ -111,8 +111,7 @@ abstract class InternetAddress { |
| * (dotted-decimal notation) or IPv6 (hexadecimal representation). |
| * address [ArgumentError] is thrown. |
| */ |
| - factory InternetAddress(String address) => |
| - new _InternetAddress.parse(address); |
| + external InternetAddress(String address); |
|
ngeoffray
2013/11/20 11:57:08
No need for factory?
Søren Gjesse
2013/11/20 12:02:37
Thats what I tried first, but that fails:
sdk/lib
|
| /** |
| * Perform a reverse dns lookup on the [address], creating a new |