blob: 6e74d7354dc395232070f93c119f03a6c80e1cdb [file] [log] [blame] [edit]
// 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.
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() {}
}
const sameModule = B();