| # 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.md file. |
| |
| # Test that errors issued by the hierarchy mixinInferrer are in fact reported, |
| # and now swallowed somewhere when done in the incremental compiler. |
| |
| type: newworld |
| worlds: |
| - entry: main.dart |
| sources: |
| main.dart: | |
| // @dart=2.9 |
| abstract class A<T> {} |
| mixin M<T> on A<T> {} |
| class C extends Object with M {} |
| expectedLibraryCount: 1 |
| errors: true |