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

Unified Diff: tests/language/regress_29949_test.dart

Issue 2952743003: Fix type argument finalization of some recursive generic types (fixes #29949). (Closed)
Patch Set: Created 3 years, 6 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/class_finalizer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/regress_29949_test.dart
diff --git a/tests/language/regress_29949_test.dart b/tests/language/regress_29949_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..8685fae643cde573c16f09cbbf9c2d85f6226506
--- /dev/null
+++ b/tests/language/regress_29949_test.dart
@@ -0,0 +1,15 @@
+// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+abstract class S {}
+
+abstract class M<T> {}
+
+abstract class N<T> {}
+
+class C<T> extends S with M<C<T>>, N<C<T>> {}
+
+main() {
+ new C<int>();
+}
siva 2017/06/21 21:46:45 You may see failures in other tools (dart2js/ddc e
« no previous file with comments | « runtime/vm/class_finalizer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698