blob: 4f2e02f11c21d9eeb2e5cba6826fb8be69eb1eef [file] [log] [blame]
// Copyright (c) 2021, 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 A {
factory A() = BAlias;
factory A.named() = BAlias.named;
}
typedef BAlias = B;
class B implements A {
B();
B.named();
}
main() {}