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

Unified Diff: tests/language/issue21079_test.dart

Issue 1255003004: Implement patch records to patch canonical objects. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: merged-to-tot Created 5 years, 5 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
« runtime/vm/snapshot.cc ('K') | « runtime/vm/snapshot.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/issue21079_test.dart
diff --git a/tests/language/issue21079_test.dart b/tests/language/issue21079_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..bf5c6a0610d9d2452e64444ab25f9baa1a800605
--- /dev/null
+++ b/tests/language/issue21079_test.dart
@@ -0,0 +1,13 @@
+import 'dart:mirrors';
rmacnak 2015/07/28 22:43:22 Missing boilerplate header. Needs to run as a scr
+import 'dart:isolate';
+import "package:expect/expect.dart";
+
+void main() {
+ Expect.isTrue(reflectClass(MyException).superclass.reflectedType == IsolateSpawnException);
+
+ Expect.isTrue(reflectClass(IsolateSpawnException).reflectedType == IsolateSpawnException);
+}
+
+class MyException extends IsolateSpawnException {}
+
+
« runtime/vm/snapshot.cc ('K') | « runtime/vm/snapshot.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698