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

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

Issue 1904553006: Fix strong mode errors in dart:io. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Minor changes. 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
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 4487e15bf35e8e8bae79d5cf719a70c48a44db06..d941bb23e82efe2e71c13cf405fec292f3bf4dd7 100644
--- a/sdk/lib/_internal/js_runtime/lib/io_patch.dart
+++ b/sdk/lib/_internal/js_runtime/lib/io_patch.dart
@@ -39,8 +39,10 @@ class _Directory {
throw new UnsupportedError("Directory._rename");
}
@patch
- static List _list(String path, bool recursive, bool followLinks) {
- throw new UnsupportedError("Directory._list");
+ static void _fillWithDirectoryListing(
+ List<FileSystemEntity> list, String path, bool recursive,
+ bool followLinks) {
+ throw new UnsupportedError("Directory._fillWithDirectoryListing");
}
}
@@ -308,6 +310,11 @@ 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
@@ -427,7 +434,7 @@ class _StdIOUtils {
throw new UnsupportedError("StdIOUtils._getStdioOutputStream");
}
@patch
- static int _socketType(nativeSocket) {
+ static int _socketType(Socket socket) {
throw new UnsupportedError("StdIOUtils._socketType");
}
@patch

Powered by Google App Engine
This is Rietveld 408576698