blob: d66d12cc4186755c38a67f633c46a5b7ba7d7604 [file] [log] [blame]
// Copyright (c) 2020, 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
abstract class A {
const A({
this.d = 3.14,
this.s = 'default',
});
final double d;
final String s;
}
class B extends A with M {
const B({double d = 2.71}) : super(d: d);
}
mixin M on A {
m1() {}
}