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

Unified Diff: sdk/lib/_internal/compiler/implementation/lib/io_patch.dart

Issue 11553020: Fix unresolved classes issues in dart:io. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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/lib/byte_array.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/compiler/implementation/lib/io_patch.dart
diff --git a/sdk/lib/_internal/compiler/implementation/lib/io_patch.dart b/sdk/lib/_internal/compiler/implementation/lib/io_patch.dart
index 9b677d6c20e98b784ce5c2fe650a4f818b119b3f..dd17e1b2235273c14f7478aabfcd9f960974cb2a 100644
--- a/sdk/lib/_internal/compiler/implementation/lib/io_patch.dart
+++ b/sdk/lib/_internal/compiler/implementation/lib/io_patch.dart
@@ -162,12 +162,14 @@ patch class Process {
patch class ServerSocket {
patch factory ServerSocket(String bindAddress, int port, int backlog) {
- return new _ServerSocket(bindAddress, port, backlog);
+ throw new UnsupportedError("ServerSocket constructor");
}
}
patch class Socket {
- patch factory Socket(String host, int port) => new _Socket(host, port);
+ patch factory Socket(String host, int port) {
+ throw new UnsupportedError("Socket constructor");
+ }
}
patch class SecureSocket {
@@ -185,11 +187,11 @@ patch class _SecureFilter {
}
patch class _StdIOUtils {
- patch static _getStdioHandle(Socket socket, int num) {
- throw new UnsupportedError("StdIOUtils._getStdioHandle");
+ patch static InputStream _getStdioInputStream() {
+ throw new UnsupportedError("StdIOUtils._getStdioInputStream");
}
- patch static _getStdioHandleType(int num) {
- throw new UnsupportedError("StdIOUtils._getStdioHandleType");
+ patch static OutputStream _getStdioOutputStream(int fd) {
+ throw new UnsupportedError("StdIOUtils._getStdioOutputStream");
}
}
« no previous file with comments | « runtime/lib/byte_array.dart ('k') | sdk/lib/io/directory_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698