-
Notifications
You must be signed in to change notification settings - Fork 12.2k
/
superWithTypeArgument3.symbols
36 lines (31 loc) · 1.25 KB
/
superWithTypeArgument3.symbols
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
=== tests/cases/compiler/superWithTypeArgument3.ts ===
class C<T> {
>C : Symbol(C, Decl(superWithTypeArgument3.ts, 0, 0))
>T : Symbol(T, Decl(superWithTypeArgument3.ts, 0, 8))
foo: T;
>foo : Symbol(C.foo, Decl(superWithTypeArgument3.ts, 0, 12))
>T : Symbol(T, Decl(superWithTypeArgument3.ts, 0, 8))
bar<U>(x: U) { }
>bar : Symbol(C.bar, Decl(superWithTypeArgument3.ts, 1, 11))
>U : Symbol(U, Decl(superWithTypeArgument3.ts, 2, 8))
>x : Symbol(x, Decl(superWithTypeArgument3.ts, 2, 11))
>U : Symbol(U, Decl(superWithTypeArgument3.ts, 2, 8))
}
class D<T> extends C<T> {
>D : Symbol(D, Decl(superWithTypeArgument3.ts, 3, 1))
>T : Symbol(T, Decl(superWithTypeArgument3.ts, 5, 8))
>C : Symbol(C, Decl(superWithTypeArgument3.ts, 0, 0))
>T : Symbol(T, Decl(superWithTypeArgument3.ts, 5, 8))
constructor() {
super<T>();
>super : Symbol(C, Decl(superWithTypeArgument3.ts, 0, 0))
}
bar() {
>bar : Symbol(D.bar, Decl(superWithTypeArgument3.ts, 8, 5))
super.bar<T>(null);
>super.bar : Symbol(C.bar, Decl(superWithTypeArgument3.ts, 1, 11))
>super : Symbol(C, Decl(superWithTypeArgument3.ts, 0, 0))
>bar : Symbol(C.bar, Decl(superWithTypeArgument3.ts, 1, 11))
>T : Symbol(T, Decl(superWithTypeArgument3.ts, 5, 8))
}
}