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

Unified Diff: lib/compiler/implementation/lib/mock.dart

Issue 10911143: Remove some exceptions from mock.dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Forgot file. Created 8 years, 3 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 | « no previous file | pkg/dartdoc/dartdoc.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/lib/mock.dart
diff --git a/lib/compiler/implementation/lib/mock.dart b/lib/compiler/implementation/lib/mock.dart
index 01303d8ad18110ed8c5cd513462f0e23734acfa3..6722d9172ae493059244cc14487a398c0d07a02a 100644
--- a/lib/compiler/implementation/lib/mock.dart
+++ b/lib/compiler/implementation/lib/mock.dart
@@ -6,16 +6,6 @@
// TODO(ahe): Remove this file.
-// TODO(ahe): VM specfic exception?
-class InternalError {
- const InternalError(this._msg);
- String toString() => "InternalError: '${_msg}'";
- final String _msg;
-}
-
-// TODO(ahe): VM specfic exception?
-class StaticResolutionException implements Exception {}
-
void assert(condition) {
if (condition is Function) condition = condition();
if (!condition) throw new AssertionError();
« no previous file with comments | « no previous file | pkg/dartdoc/dartdoc.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698