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

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

Issue 13704003: Reapply "Add a sleep function to dart:io" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added "hide sleep" where needed Created 7 years, 8 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/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 736bf5df2cedf9cc16927f9076935e656b117361..6cd1b5005fa54d64d885d40da3f88508d00f66c9 100644
--- a/sdk/lib/_internal/compiler/implementation/lib/io_patch.dart
+++ b/sdk/lib/_internal/compiler/implementation/lib/io_patch.dart
@@ -165,6 +165,9 @@ patch class _ProcessUtils {
patch static _setExitCode(int status) {
throw new UnsupportedError("ProcessUtils._setExitCode");
}
+ patch static _sleep(int millis) {
+ throw new UnsupportedError("ProcessUtils._sleep");
+ }
}
patch class Process {

Powered by Google App Engine
This is Rietveld 408576698