blob: 701f7bf3fd623a3bc546ac4312bf47f178ab26cb [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.
// Introduce an aliased type.
class A {
A();
A.named();
static void staticMethod<X>() {}
}
typedef T<X extends A> = X;