8e07d492dd
Change-Id: Ibd12b14e1e8a1811734b4773c842e72a7fcb300c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277684 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
18 lines
437 B
Dart
18 lines
437 B
Dart
// Copyright (c) 2022, 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 Mixin {}
|
|
inline class Class1 {
|
|
final int it;
|
|
|
|
Class1(this.it);
|
|
}
|
|
inline class Class2 = Object with Mixin;
|
|
inline class Class3<T> {
|
|
final List<T> it;
|
|
|
|
Class3(this.it);
|
|
}
|
|
|
|
method(Class1 c1, Class3<int> c3) {} |