blob: 2ca5d0209995f2f0dd4310355dc9fe453d152e75 [file] [log] [blame]
# Copyright (c) 2018, 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.
# Compile. Use mixins.
type: basic
entry: a.dart
invalidate:
- a.dart
sources:
a.dart: |
import 'b.dart';
class A extends Object with B<C>, D {}
b.dart: |
mixin B<ChildType extends Object> {
ChildType get child => throw '';
set child(ChildType value) {}
}
class C {}
mixin D<T extends Object> on B<T> {}