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

Unified Diff: tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart

Issue 2976013002: Changes to compile compound constructor types (Closed)
Patch Set: Created 3 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
« no previous file with comments | « pkg/compiler/lib/src/ssa/type_builder.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart
diff --git a/tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart b/tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart
index 7bd194d1649c3133115446cdb8ed186057fc5a6b..587d3837fe2bb71e301387bf30d4268c82fc47df 100644
--- a/tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart
+++ b/tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart
@@ -157,6 +157,22 @@ main() {
}
'''
}, expectIdenticalOutput: false),
+ const Test(const {
+ 'main.dart': '''
+class A<U,V> {
+ var a = U;
+ var b = V;
+}
+class B<Q, R> extends A<R, W<Q>> {
+}
+class C<Y> extends B<Y, W<Y>> {
+}
+class W<Z> {}
+main() {
+ print(new C<String>().a);
+}
+'''
+ }, expectIdenticalOutput: true),
];
enum ResultKind { crashes, errors, warnings, success, failure }
« no previous file with comments | « pkg/compiler/lib/src/ssa/type_builder.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698