blob: 5d6479f1e6efe2fa7504071a6a0c4b79d2213e3a [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.
// @dart = 2.9
class I<X> {}
mixin M0<T> on I<T> {}
mixin M1<T> on I<T> {}
///////////////////////////////////////////////////////
// Inference happens from superclasses to subclasses
///////////////////////////////////////////////////////
// Error since class hierarchy is inconsistent
class A00 extends I with M0, M1<int> {} /*@compile-error=unspecified*/
void main() {}