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

Unified Diff: sdk/lib/io/socket.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
« sdk/lib/_internal/lib/io_patch.dart ('K') | « sdk/lib/_internal/lib/io_patch.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« sdk/lib/_internal/lib/io_patch.dart ('K') | « sdk/lib/_internal/lib/io_patch.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698