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

Unified Diff: sdk/lib/_internal/js_runtime/lib/io_patch.dart

Issue 1966373002: Revert "Fix strong mode errors in dart:io." (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 months 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
« no previous file with comments | « runtime/bin/stdio_patch.dart ('k') | sdk/lib/io/directory_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/js_runtime/lib/io_patch.dart
diff --git a/sdk/lib/_internal/js_runtime/lib/io_patch.dart b/sdk/lib/_internal/js_runtime/lib/io_patch.dart
index d941bb23e82efe2e71c13cf405fec292f3bf4dd7..4487e15bf35e8e8bae79d5cf719a70c48a44db06 100644
--- a/sdk/lib/_internal/js_runtime/lib/io_patch.dart
+++ b/sdk/lib/_internal/js_runtime/lib/io_patch.dart
@@ -39,10 +39,8 @@ class _Directory {
throw new UnsupportedError("Directory._rename");
}
@patch
- static void _fillWithDirectoryListing(
- List<FileSystemEntity> list, String path, bool recursive,
- bool followLinks) {
- throw new UnsupportedError("Directory._fillWithDirectoryListing");
+ static List _list(String path, bool recursive, bool followLinks) {
+ throw new UnsupportedError("Directory._list");
}
}
@@ -310,11 +308,6 @@ class InternetAddress {
String host, {InternetAddressType type: InternetAddressType.ANY}) {
throw new UnsupportedError("InternetAddress.lookup");
}
- @patch
- static InternetAddress _cloneWithNewHost(
- InternetAddress address, String host) {
- throw new UnsupportedError("InternetAddress._cloneWithNewHost");
- }
}
@patch
@@ -434,7 +427,7 @@ class _StdIOUtils {
throw new UnsupportedError("StdIOUtils._getStdioOutputStream");
}
@patch
- static int _socketType(Socket socket) {
+ static int _socketType(nativeSocket) {
throw new UnsupportedError("StdIOUtils._socketType");
}
@patch
« no previous file with comments | « runtime/bin/stdio_patch.dart ('k') | sdk/lib/io/directory_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698