blob: 55e952384feb6b58a32f2ebe7e3c7dd7e844be9d [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> implements I<T> {}
//////////////////////////////////////////////////////
// Inference does not use implements constraints on mixin
///////////////////////////////////////////////////////
// Error since class hierarchy is inconsistent
class A00 with M0 implements I<int> {} /*@compile-error=unspecified*/
void main() {}