blob: a3fb20473dbd6d97b6e945bc93b8ffdf245bd57c [file] [log] [blame]
class A<X> {
static X foo<X>(X x) => x;
}
typedef D1<X> = A<X>;
typedef D2<X extends num> = A<X>;
test() {}
main() {}