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

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

Issue 17406010: Move getters from Options to Platform (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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/lib/io_patch.dart
diff --git a/sdk/lib/_internal/lib/io_patch.dart b/sdk/lib/_internal/lib/io_patch.dart
index 9be199832dae0743ec82f3d65af07a7f0f712637..aaf3f43b24e5e07c3381ed243baa3833bb533f63 100644
--- a/sdk/lib/_internal/lib/io_patch.dart
+++ b/sdk/lib/_internal/lib/io_patch.dart
@@ -168,6 +168,9 @@ patch class _Platform {
patch static _environment() {
throw new UnsupportedError("Platform._environment");
}
+ patch static String _version() {
+ throw new UnsupportedError("Platform._version");
+ }
}
patch class _ProcessUtils {
@@ -309,9 +312,3 @@ patch class _Filter {
throw new UnsupportedError("newZLibInflateFilter");
}
}
-
-patch class _OptionsImpl {
- patch String get version {
- throw new UnsupportedError("_OptionsImpl.version");
- }
-}

Powered by Google App Engine
This is Rietveld 408576698