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

Unified Diff: dart/frog/leg/lib/mock.dart

Issue 9808019: Make dartdoc compile. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 8 years, 9 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 | « dart/frog/leg/lib/io.dart ('k') | dart/tests/utils/src/DummyCompilerTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/leg/lib/mock.dart
diff --git a/dart/frog/leg/lib/mock.dart b/dart/frog/leg/lib/mock.dart
index 74421d3b245313f6212ade9507870856e97d41ad..f61ef40932533ecc072cfd38b67577037258d7a1 100644
--- a/dart/frog/leg/lib/mock.dart
+++ b/dart/frog/leg/lib/mock.dart
@@ -26,6 +26,7 @@ class StaticResolutionException implements Exception {}
void assert(condition) {}
+// TODO(ahe): Not sure ByteArray belongs in the core library.
interface ByteArray extends List default _InternalByteArray {
ByteArray(int length);
}
@@ -35,3 +36,8 @@ class _InternalByteArray {
throw new UnsupportedOperationException("new ByteArray($length)");
}
}
+
+// TODO(ahe): This definitely does not belong in the core library.
+void exit(int exitCode) {
+ throw new UnsupportedOperationException("exit($exitCode)");
+}
« no previous file with comments | « dart/frog/leg/lib/io.dart ('k') | dart/tests/utils/src/DummyCompilerTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698