blob: 1b995567b2122c31ad9acf5f810c26d2c3d8a0a9 [file] [log] [blame]
// 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.
mixin Bar<C> {
final List<C> _one = [];
final bool _two = Foo is C;
}
class Foo extends Object with Bar {}
mixin A<E> {}
abstract class B<E> extends Object with A<E> {}
class C extends B<int> {
final String _string;
C(this._string);
}
mixin D<T> {}
abstract class E<T> = Object with D<T>;
class F extends E<int> {
final String _string;
F(this._string);
}
main() {
Foo();
C('e');
F('e');
}