File: mergedInterfacesWithMultipleBases2.symbols

package info (click to toggle)
node-typescript 3.3.3333-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324,548 kB
  • sloc: makefile: 6; sh: 3
file content (171 lines) | stat: -rw-r--r-- 6,681 bytes parent folder | download | duplicates (7)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
=== tests/cases/conformance/interfaces/declarationMerging/mergedInterfacesWithMultipleBases2.ts ===
// merged interfaces behave as if all extends clauses from each declaration are merged together
// no errors expected

class C {
>C : Symbol(C, Decl(mergedInterfacesWithMultipleBases2.ts, 0, 0))

    a: number;
>a : Symbol(C.a, Decl(mergedInterfacesWithMultipleBases2.ts, 3, 9))
}

class C2 {
>C2 : Symbol(C2, Decl(mergedInterfacesWithMultipleBases2.ts, 5, 1))

    b: number;
>b : Symbol(C2.b, Decl(mergedInterfacesWithMultipleBases2.ts, 7, 10))
}

class C3 {
>C3 : Symbol(C3, Decl(mergedInterfacesWithMultipleBases2.ts, 9, 1))

    c: string;
>c : Symbol(C3.c, Decl(mergedInterfacesWithMultipleBases2.ts, 11, 10))
}

class C4 {
>C4 : Symbol(C4, Decl(mergedInterfacesWithMultipleBases2.ts, 13, 1))

    d: string;
>d : Symbol(C4.d, Decl(mergedInterfacesWithMultipleBases2.ts, 15, 10))
}


interface A extends C, C3 {
>A : Symbol(A, Decl(mergedInterfacesWithMultipleBases2.ts, 17, 1), Decl(mergedInterfacesWithMultipleBases2.ts, 22, 1))
>C : Symbol(C, Decl(mergedInterfacesWithMultipleBases2.ts, 0, 0))
>C3 : Symbol(C3, Decl(mergedInterfacesWithMultipleBases2.ts, 9, 1))

    y: string;
>y : Symbol(A.y, Decl(mergedInterfacesWithMultipleBases2.ts, 20, 27))
}

interface A extends C2, C4 {
>A : Symbol(A, Decl(mergedInterfacesWithMultipleBases2.ts, 17, 1), Decl(mergedInterfacesWithMultipleBases2.ts, 22, 1))
>C2 : Symbol(C2, Decl(mergedInterfacesWithMultipleBases2.ts, 5, 1))
>C4 : Symbol(C4, Decl(mergedInterfacesWithMultipleBases2.ts, 13, 1))

    z: string;
>z : Symbol(A.z, Decl(mergedInterfacesWithMultipleBases2.ts, 24, 28))
}

class D implements A {
>D : Symbol(D, Decl(mergedInterfacesWithMultipleBases2.ts, 26, 1))
>A : Symbol(A, Decl(mergedInterfacesWithMultipleBases2.ts, 17, 1), Decl(mergedInterfacesWithMultipleBases2.ts, 22, 1))

    a: number;
>a : Symbol(D.a, Decl(mergedInterfacesWithMultipleBases2.ts, 28, 22))

    b: number;
>b : Symbol(D.b, Decl(mergedInterfacesWithMultipleBases2.ts, 29, 14))

    c: string;
>c : Symbol(D.c, Decl(mergedInterfacesWithMultipleBases2.ts, 30, 14))

    d: string;
>d : Symbol(D.d, Decl(mergedInterfacesWithMultipleBases2.ts, 31, 14))

    y: string;
>y : Symbol(D.y, Decl(mergedInterfacesWithMultipleBases2.ts, 32, 14))

    z: string;
>z : Symbol(D.z, Decl(mergedInterfacesWithMultipleBases2.ts, 33, 14))
}

var a: A;
>a : Symbol(a, Decl(mergedInterfacesWithMultipleBases2.ts, 37, 3))
>A : Symbol(A, Decl(mergedInterfacesWithMultipleBases2.ts, 17, 1), Decl(mergedInterfacesWithMultipleBases2.ts, 22, 1))

var r = a.a;
>r : Symbol(r, Decl(mergedInterfacesWithMultipleBases2.ts, 38, 3))
>a.a : Symbol(C.a, Decl(mergedInterfacesWithMultipleBases2.ts, 3, 9))
>a : Symbol(a, Decl(mergedInterfacesWithMultipleBases2.ts, 37, 3))
>a : Symbol(C.a, Decl(mergedInterfacesWithMultipleBases2.ts, 3, 9))

// generic interfaces in a module
module M {
>M : Symbol(M, Decl(mergedInterfacesWithMultipleBases2.ts, 38, 12))

    class C<T> {
>C : Symbol(C, Decl(mergedInterfacesWithMultipleBases2.ts, 41, 10))
>T : Symbol(T, Decl(mergedInterfacesWithMultipleBases2.ts, 42, 12))

        a: T;
>a : Symbol(C.a, Decl(mergedInterfacesWithMultipleBases2.ts, 42, 16))
>T : Symbol(T, Decl(mergedInterfacesWithMultipleBases2.ts, 42, 12))
    }

    class C2<T> {
>C2 : Symbol(C2, Decl(mergedInterfacesWithMultipleBases2.ts, 44, 5))
>T : Symbol(T, Decl(mergedInterfacesWithMultipleBases2.ts, 46, 13))

        b: T;
>b : Symbol(C2.b, Decl(mergedInterfacesWithMultipleBases2.ts, 46, 17))
>T : Symbol(T, Decl(mergedInterfacesWithMultipleBases2.ts, 46, 13))
    }

    class C3<T> {
>C3 : Symbol(C3, Decl(mergedInterfacesWithMultipleBases2.ts, 48, 5))
>T : Symbol(T, Decl(mergedInterfacesWithMultipleBases2.ts, 50, 13))

        c: T;
>c : Symbol(C3.c, Decl(mergedInterfacesWithMultipleBases2.ts, 50, 17))
>T : Symbol(T, Decl(mergedInterfacesWithMultipleBases2.ts, 50, 13))
    }

    class C4<T> {
>C4 : Symbol(C4, Decl(mergedInterfacesWithMultipleBases2.ts, 52, 5))
>T : Symbol(T, Decl(mergedInterfacesWithMultipleBases2.ts, 54, 13))

        d: T;
>d : Symbol(C4.d, Decl(mergedInterfacesWithMultipleBases2.ts, 54, 17))
>T : Symbol(T, Decl(mergedInterfacesWithMultipleBases2.ts, 54, 13))
    }

    interface A<T> extends C<T>, C3<T> {
>A : Symbol(A, Decl(mergedInterfacesWithMultipleBases2.ts, 56, 5), Decl(mergedInterfacesWithMultipleBases2.ts, 60, 5))
>T : Symbol(T, Decl(mergedInterfacesWithMultipleBases2.ts, 58, 16), Decl(mergedInterfacesWithMultipleBases2.ts, 62, 16))
>C : Symbol(C, Decl(mergedInterfacesWithMultipleBases2.ts, 41, 10))
>T : Symbol(T, Decl(mergedInterfacesWithMultipleBases2.ts, 58, 16), Decl(mergedInterfacesWithMultipleBases2.ts, 62, 16))
>C3 : Symbol(C3, Decl(mergedInterfacesWithMultipleBases2.ts, 48, 5))
>T : Symbol(T, Decl(mergedInterfacesWithMultipleBases2.ts, 58, 16), Decl(mergedInterfacesWithMultipleBases2.ts, 62, 16))

        y: T;
>y : Symbol(A.y, Decl(mergedInterfacesWithMultipleBases2.ts, 58, 40))
>T : Symbol(T, Decl(mergedInterfacesWithMultipleBases2.ts, 58, 16), Decl(mergedInterfacesWithMultipleBases2.ts, 62, 16))
    }

    interface A<T> extends C2<string>, C4<string> {
>A : Symbol(A, Decl(mergedInterfacesWithMultipleBases2.ts, 56, 5), Decl(mergedInterfacesWithMultipleBases2.ts, 60, 5))
>T : Symbol(T, Decl(mergedInterfacesWithMultipleBases2.ts, 58, 16), Decl(mergedInterfacesWithMultipleBases2.ts, 62, 16))
>C2 : Symbol(C2, Decl(mergedInterfacesWithMultipleBases2.ts, 44, 5))
>C4 : Symbol(C4, Decl(mergedInterfacesWithMultipleBases2.ts, 52, 5))

        z: T;
>z : Symbol(A.z, Decl(mergedInterfacesWithMultipleBases2.ts, 62, 51))
>T : Symbol(T, Decl(mergedInterfacesWithMultipleBases2.ts, 58, 16), Decl(mergedInterfacesWithMultipleBases2.ts, 62, 16))
    }

    class D implements A<boolean> {
>D : Symbol(D, Decl(mergedInterfacesWithMultipleBases2.ts, 64, 5))
>A : Symbol(A, Decl(mergedInterfacesWithMultipleBases2.ts, 56, 5), Decl(mergedInterfacesWithMultipleBases2.ts, 60, 5))

        a: boolean;
>a : Symbol(D.a, Decl(mergedInterfacesWithMultipleBases2.ts, 66, 35))

        b: string;
>b : Symbol(D.b, Decl(mergedInterfacesWithMultipleBases2.ts, 67, 19))

        c: boolean;
>c : Symbol(D.c, Decl(mergedInterfacesWithMultipleBases2.ts, 68, 18))

        d: string;
>d : Symbol(D.d, Decl(mergedInterfacesWithMultipleBases2.ts, 69, 19))

        y: boolean;
>y : Symbol(D.y, Decl(mergedInterfacesWithMultipleBases2.ts, 70, 18))

        z: boolean;
>z : Symbol(D.z, Decl(mergedInterfacesWithMultipleBases2.ts, 71, 19))
    }
}