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

Unified Diff: tests/language/first_class_types_test.dart

Issue 10979058: - Implement first class types in the VM. (Closed) Base URL: http://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: tests/language/first_class_types_test.dart
===================================================================
--- tests/language/first_class_types_test.dart (revision 12980)
+++ tests/language/first_class_types_test.dart (working copy)
@@ -5,10 +5,14 @@
class C<T> {}
sameType(a, b) {
+ print("a: ${a.runtimeType}");
+ print("b: ${b.runtimeType}");
Expect.isTrue(a.runtimeType === b.runtimeType);
}
differentType(a, b) {
+ print("a: ${a.runtimeType}");
+ print("b: ${b.runtimeType}");
Expect.isFalse(a.runtimeType === b.runtimeType);
}

Powered by Google App Engine
This is Rietveld 408576698