mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 03:56:57 +00:00
d4148159cc
Change-Id: I75c3f3a4072aeaa6f27d399196ba3c57e79fecbb Reviewed-on: https://dart-review.googlesource.com/74017 Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
16 lines
551 B
Dart
16 lines
551 B
Dart
// 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.
|
|
|
|
class I<X> {}
|
|
|
|
mixin M0<T> on I<T> {}
|
|
|
|
///////////////////////////////////////////////////////
|
|
// Inference happens from superclasses to subclasses
|
|
///////////////////////////////////////////////////////
|
|
|
|
// Error since class hierarchy is inconsistent
|
|
class A00 extends I with M0<int> {} /*@compile-error=unspecified*/
|
|
|
|
void main() {} |