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

Unified Diff: tests/language/dynamic_test.dart

Issue 22902002: Ensure the classes void and dynamic have empty arrays for fields, functions, etc. Move their Types … (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: remove redudant mirror asserts, fix test Created 7 years, 4 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
« no previous file with comments | « runtime/vm/snapshot.cc ('k') | tests/language/language_dart2js.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/dynamic_test.dart
diff --git a/tests/language/dynamic_test.dart b/tests/language/dynamic_test.dart
index 9b1cc77a2ba40fe3a5a967141c70d474ba58937a..b871001b50c14f3c61306a2b3488331f1f33b512 100644
--- a/tests/language/dynamic_test.dart
+++ b/tests/language/dynamic_test.dart
@@ -31,6 +31,9 @@ class HasMethodDynamic {
}
main() {
+ Expect.isTrue(dynamic is Type);
+ Expect.equals(dynamic, dynamic);
+
M1<dynamic, dynamic> m1 = new M1<dynamic, dynamic>();
Expect.isTrue(m1 is Iface<dynamic, num>);
Expect.isTrue(m1 is Iface<String, dynamic>);
« no previous file with comments | « runtime/vm/snapshot.cc ('k') | tests/language/language_dart2js.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698