Index: dart/runtime/lib/mirrors_patch.dart |
diff --git a/dart/runtime/lib/mirrors_patch.dart b/dart/runtime/lib/mirrors_patch.dart |
index 4af60c686b55781e2e122ba67ee373456647fc04..b3f2d4d530907dc4328caa590c307ab8ec493c58 100644 |
--- a/dart/runtime/lib/mirrors_patch.dart |
+++ b/dart/runtime/lib/mirrors_patch.dart |
@@ -65,3 +65,14 @@ patch class MirrorSystem { |
static _mangleName(String name, _MirrorReference lib) |
native "Mirrors_mangleName"; |
} |
+ |
+// TODO(rmacnak): Eliminate this class. |
+class MirroredCompilationError { |
+ final String message; |
+ |
+ MirroredCompilationError(this.message); |
+ |
+ String toString() { |
+ return "Compile-time error during mirrored execution: <$message>"; |
+ } |
+} |