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

Unified Diff: tests/language/mixin_regress_13688_test.dart

Issue 2302173003: Dynamicize some mixin type tests (Closed)
Patch Set: Created 4 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
« no previous file with comments | « tests/language/mixin_mixin7_test.dart ('k') | tests/language/regress_18713_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/mixin_regress_13688_test.dart
diff --git a/tests/language/mixin_regress_13688_test.dart b/tests/language/mixin_regress_13688_test.dart
index 00115394e45d789a6a68ddf8add312fd13682f42..d003741cdf10955e07a12bba90d42bc5559be762 100644
--- a/tests/language/mixin_regress_13688_test.dart
+++ b/tests/language/mixin_regress_13688_test.dart
@@ -12,7 +12,11 @@ class ComparableMixin<E> {
class KUID extends Object with ComparableMixin<KUID> { }
+@NoInline() @AssumeDynamic()
+dyn(x) => x;
+
main() {
var kuid = new KUID();
Expect.equals(kuid.runtimeType.toString(), kuid.e().toString());
+ Expect.equals(dyn(kuid).runtimeType.toString(), dyn(kuid).e().toString());
}
« no previous file with comments | « tests/language/mixin_mixin7_test.dart ('k') | tests/language/regress_18713_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698