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

Unified Diff: tests/language/regress_26230_test.dart

Issue 1886633002: Properly handle unfinalized type parameters of generic mixins (fixes #26230). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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/object.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_26230_test.dart
diff --git a/tests/language/regress_26230_test.dart b/tests/language/regress_26230_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..c6de7d7ed24ffe7ea42c48ddcc98859fcbf12e34
--- /dev/null
+++ b/tests/language/regress_26230_test.dart
@@ -0,0 +1,27 @@
+// Copyright (c) 2016, 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.
+
+class _RenderTabBar extends RenderBox with
+ ContainerRenderObjectMixin<RenderBox, _TabBarParentData>,
+ RenderBoxContainerDefaultsMixin<RenderBox, _TabBarParentData> { }
+class RenderObject { }
+class RenderSector extends RenderObject { }
+class RenderBox extends RenderObject { }
+class ParentData { }
+class BoxParentData extends ParentData { }
+class SectorParentData extends ParentData { }
+class ContainerParentDataMixin<ChildType extends RenderObject> { }
+class ContainerRenderObjectMixin<ChildType extends RenderObject, ParentDataType extends ContainerParentDataMixin<ChildType>> { }
+class SectorChildListParentData extends SectorParentData with ContainerParentDataMixin<RenderSector> { }
+class RenderDecoratedSector extends RenderSector { }
+class RenderSectorWithChildren extends RenderDecoratedSector with ContainerRenderObjectMixin<RenderSector, SectorChildListParentData> { }
+class ContainerBoxParentDataMixin<ChildType extends RenderObject> extends BoxParentData with ContainerParentDataMixin<ChildType> { }
+class RenderBoxContainerDefaultsMixin<ChildType extends RenderBox, ParentDataType extends ContainerBoxParentDataMixin<ChildType>> implements ContainerRenderObjectMixin<ChildType, ParentDataType> { }
+class FlexParentData extends ContainerBoxParentDataMixin<RenderBox> { }
+class _TabBarParentData extends ContainerBoxParentDataMixin<RenderBox> { }
+
+main() {
+ new _RenderTabBar();
+}
+
« no previous file with comments | « runtime/vm/object.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698