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

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

Issue 10353014: Start implementing checked mode and tools support for using it. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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: lib/compiler/implementation/lib/mock.dart
===================================================================
--- lib/compiler/implementation/lib/mock.dart (revision 7269)
+++ lib/compiler/implementation/lib/mock.dart (working copy)
@@ -7,7 +7,11 @@
// TODO(ahe): Remove this file.
class AssertionError {}
-class TypeError extends AssertionError {}
+class TypeError extends AssertionError {
+ String msg;
kasperl 2012/05/07 10:42:39 final?
ngeoffray 2012/05/07 13:15:42 Done.
+ TypeError(this.msg);
kasperl 2012/05/07 10:42:39 const?
ngeoffray 2012/05/07 13:15:42 Done.
+ toString() => msg;
+}
class FallThroughError {
const FallThroughError();

Powered by Google App Engine
This is Rietveld 408576698