34 lines
2 KiB
Text
34 lines
2 KiB
Text
=== tests/cases/compiler/overloadedStaticMethodSpecialization.ts ===
|
|
class A<T> {
|
|
>A : A<T>, Symbol(A,Decl(overloadedStaticMethodSpecialization.ts,0,0))
|
|
>T : T, Symbol(T,Decl(overloadedStaticMethodSpecialization.ts,0,8))
|
|
|
|
static B<S>(v: A<S>): A<S>;
|
|
>B : { <S>(v: A<S>): A<S>; <S>(v: S): A<S>; }, Symbol(A.B,Decl(overloadedStaticMethodSpecialization.ts,0,12),Decl(overloadedStaticMethodSpecialization.ts,1,31),Decl(overloadedStaticMethodSpecialization.ts,2,28))
|
|
>S : S, Symbol(S,Decl(overloadedStaticMethodSpecialization.ts,1,13))
|
|
>v : A<S>, Symbol(v,Decl(overloadedStaticMethodSpecialization.ts,1,16))
|
|
>A : A<T>, Symbol(A,Decl(overloadedStaticMethodSpecialization.ts,0,0))
|
|
>S : S, Symbol(S,Decl(overloadedStaticMethodSpecialization.ts,1,13))
|
|
>A : A<T>, Symbol(A,Decl(overloadedStaticMethodSpecialization.ts,0,0))
|
|
>S : S, Symbol(S,Decl(overloadedStaticMethodSpecialization.ts,1,13))
|
|
|
|
static B<S>(v: S): A<S>;
|
|
>B : { <S>(v: A<S>): A<S>; <S>(v: S): A<S>; }, Symbol(A.B,Decl(overloadedStaticMethodSpecialization.ts,0,12),Decl(overloadedStaticMethodSpecialization.ts,1,31),Decl(overloadedStaticMethodSpecialization.ts,2,28))
|
|
>S : S, Symbol(S,Decl(overloadedStaticMethodSpecialization.ts,2,13))
|
|
>v : S, Symbol(v,Decl(overloadedStaticMethodSpecialization.ts,2,16))
|
|
>S : S, Symbol(S,Decl(overloadedStaticMethodSpecialization.ts,2,13))
|
|
>A : A<T>, Symbol(A,Decl(overloadedStaticMethodSpecialization.ts,0,0))
|
|
>S : S, Symbol(S,Decl(overloadedStaticMethodSpecialization.ts,2,13))
|
|
|
|
static B<S>(v: any): A<S> {
|
|
>B : { <S>(v: A<S>): A<S>; <S>(v: S): A<S>; }, Symbol(A.B,Decl(overloadedStaticMethodSpecialization.ts,0,12),Decl(overloadedStaticMethodSpecialization.ts,1,31),Decl(overloadedStaticMethodSpecialization.ts,2,28))
|
|
>S : S, Symbol(S,Decl(overloadedStaticMethodSpecialization.ts,3,13))
|
|
>v : any, Symbol(v,Decl(overloadedStaticMethodSpecialization.ts,3,16))
|
|
>A : A<T>, Symbol(A,Decl(overloadedStaticMethodSpecialization.ts,0,0))
|
|
>S : S, Symbol(S,Decl(overloadedStaticMethodSpecialization.ts,3,13))
|
|
|
|
return null;
|
|
>null : null
|
|
}
|
|
}
|
|
|