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

Unified Diff: pkg/dartdoc/dartdoc.dart

Issue 10915083: Change assert implementation to not depend on a top-level function called 'assert'. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
Index: pkg/dartdoc/dartdoc.dart
diff --git a/pkg/dartdoc/dartdoc.dart b/pkg/dartdoc/dartdoc.dart
index f295db4e287cd966fa2d0b264386ae28b145f48c..3aec3503a4e5fbffdbb93547b9646e5f00bfb62d 100644
--- a/pkg/dartdoc/dartdoc.dart
+++ b/pkg/dartdoc/dartdoc.dart
@@ -1727,3 +1727,12 @@ class Dartdoc {
}
}
+/**
+ * Used to report an unexpected error in the DartDoc tool or the
+ * underlying data
+ */
+class InternalError {
+ final String message;
+ const InternalError(this.message);
+ String toString() => "InternalError: '$message'";
+}

Powered by Google App Engine
This is Rietveld 408576698