File: objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.symbols

package info (click to toggle)
node-typescript 2.1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 203,952 kB
  • ctags: 52,987
  • sloc: sh: 11; makefile: 5
file content (268 lines) | stat: -rw-r--r-- 25,061 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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
=== tests/cases/conformance/types/typeRelationships/typeAndMemberIdentity/objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts ===
// Two call or construct signatures are considered identical when they have the same number of type parameters and, considering those 
// parameters pairwise identical, have identical type parameter constraints, identical number of parameters with identical kind(required, 
// optional or rest) and types, and identical return types.

class B<T, U> {
>B : Symbol(B, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 0, 0))
>T : Symbol(T, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 4, 8))
>U : Symbol(U, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 4, 10))

    constructor(x: T, y: U) { return null; }
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 5, 16))
>T : Symbol(T, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 4, 8))
>y : Symbol(y, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 5, 21))
>U : Symbol(U, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 4, 10))
}

class C<T, U> {
>C : Symbol(C, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 6, 1))
>T : Symbol(T, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 8, 8))
>U : Symbol(U, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 8, 10))

    constructor(x: T, y?: U) { return null; }
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 9, 16))
>T : Symbol(T, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 8, 8))
>y : Symbol(y, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 9, 21))
>U : Symbol(U, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 8, 10))
}

interface I<T, U> {
>I : Symbol(I, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 10, 1))
>T : Symbol(T, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 12, 12))
>U : Symbol(U, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 12, 14))

    new(x: T, y?: U): B<T, U>;
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 13, 8))
>T : Symbol(T, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 12, 12))
>y : Symbol(y, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 13, 13))
>U : Symbol(U, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 12, 14))
>B : Symbol(B, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 0, 0))
>T : Symbol(T, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 12, 12))
>U : Symbol(U, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 12, 14))
}

interface I2 {
>I2 : Symbol(I2, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 14, 1))

    new<T, U>(x: T, y: U): C<T, U>;
>T : Symbol(T, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 17, 8))
>U : Symbol(U, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 17, 10))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 17, 14))
>T : Symbol(T, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 17, 8))
>y : Symbol(y, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 17, 19))
>U : Symbol(U, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 17, 10))
>C : Symbol(C, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 6, 1))
>T : Symbol(T, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 17, 8))
>U : Symbol(U, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 17, 10))
}

var a: { new <T, U>(x: T, y?: U): B<T, U> };
>a : Symbol(a, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 20, 3))
>T : Symbol(T, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 20, 14))
>U : Symbol(U, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 20, 16))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 20, 20))
>T : Symbol(T, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 20, 14))
>y : Symbol(y, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 20, 25))
>U : Symbol(U, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 20, 16))
>B : Symbol(B, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 0, 0))
>T : Symbol(T, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 20, 14))
>U : Symbol(U, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 20, 16))

var b = { new<T, U>(x: T, y: U) { return new C<T, U>(x, y); } }; // not a construct signature, function called new
>b : Symbol(b, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 21, 3))
>new : Symbol(new, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 21, 9))
>T : Symbol(T, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 21, 14))
>U : Symbol(U, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 21, 16))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 21, 20))
>T : Symbol(T, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 21, 14))
>y : Symbol(y, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 21, 25))
>U : Symbol(U, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 21, 16))
>C : Symbol(C, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 6, 1))
>T : Symbol(T, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 21, 14))
>U : Symbol(U, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 21, 16))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 21, 20))
>y : Symbol(y, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 21, 25))

function foo1b(x: B<string, number>);
>foo1b : Symbol(foo1b, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 21, 64), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 23, 37), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 24, 37))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 23, 15))
>B : Symbol(B, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 0, 0))

function foo1b(x: B<string, number>); // error
>foo1b : Symbol(foo1b, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 21, 64), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 23, 37), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 24, 37))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 24, 15))
>B : Symbol(B, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 0, 0))

function foo1b(x: any) { }
>foo1b : Symbol(foo1b, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 21, 64), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 23, 37), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 24, 37))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 25, 15))

function foo1c(x: C<string, number>);
>foo1c : Symbol(foo1c, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 25, 26), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 27, 37), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 28, 37))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 27, 15))
>C : Symbol(C, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 6, 1))

function foo1c(x: C<string, number>); // error
>foo1c : Symbol(foo1c, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 25, 26), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 27, 37), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 28, 37))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 28, 15))
>C : Symbol(C, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 6, 1))

function foo1c(x: any) { }
>foo1c : Symbol(foo1c, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 25, 26), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 27, 37), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 28, 37))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 29, 15))

function foo2(x: I<string, number>);
>foo2 : Symbol(foo2, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 29, 26), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 31, 36), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 32, 36))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 31, 14))
>I : Symbol(I, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 10, 1))

function foo2(x: I<string, number>); // error
>foo2 : Symbol(foo2, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 29, 26), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 31, 36), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 32, 36))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 32, 14))
>I : Symbol(I, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 10, 1))

function foo2(x: any) { }
>foo2 : Symbol(foo2, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 29, 26), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 31, 36), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 32, 36))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 33, 14))

function foo3(x: typeof a);
>foo3 : Symbol(foo3, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 33, 25), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 35, 27), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 36, 27))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 35, 14))
>a : Symbol(a, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 20, 3))

function foo3(x: typeof a); // error
>foo3 : Symbol(foo3, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 33, 25), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 35, 27), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 36, 27))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 36, 14))
>a : Symbol(a, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 20, 3))

function foo3(x: any) { }
>foo3 : Symbol(foo3, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 33, 25), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 35, 27), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 36, 27))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 37, 14))

function foo4(x: typeof b);
>foo4 : Symbol(foo4, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 37, 25), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 39, 27), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 40, 27))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 39, 14))
>b : Symbol(b, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 21, 3))

function foo4(x: typeof b); // error
>foo4 : Symbol(foo4, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 37, 25), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 39, 27), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 40, 27))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 40, 14))
>b : Symbol(b, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 21, 3))

function foo4(x: any) { }
>foo4 : Symbol(foo4, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 37, 25), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 39, 27), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 40, 27))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 41, 14))

function foo8(x: B<string, number>);
>foo8 : Symbol(foo8, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 41, 25), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 43, 36), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 44, 36))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 43, 14))
>B : Symbol(B, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 0, 0))

function foo8(x: I<string, number>); // BUG 832086
>foo8 : Symbol(foo8, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 41, 25), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 43, 36), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 44, 36))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 44, 14))
>I : Symbol(I, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 10, 1))

function foo8(x: any) { }
>foo8 : Symbol(foo8, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 41, 25), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 43, 36), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 44, 36))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 45, 14))

function foo9(x: B<string, number>);
>foo9 : Symbol(foo9, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 45, 25), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 47, 36), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 48, 36))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 47, 14))
>B : Symbol(B, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 0, 0))

function foo9(x: C<string, number>); // error, differ only by return type
>foo9 : Symbol(foo9, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 45, 25), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 47, 36), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 48, 36))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 48, 14))
>C : Symbol(C, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 6, 1))

function foo9(x: any) { }
>foo9 : Symbol(foo9, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 45, 25), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 47, 36), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 48, 36))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 49, 14))

function foo10(x: B<string, number>);
>foo10 : Symbol(foo10, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 49, 25), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 51, 37), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 52, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 51, 15))
>B : Symbol(B, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 0, 0))

function foo10(x: typeof a); // BUG 832086
>foo10 : Symbol(foo10, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 49, 25), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 51, 37), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 52, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 52, 15))
>a : Symbol(a, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 20, 3))

function foo10(x: any) { }
>foo10 : Symbol(foo10, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 49, 25), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 51, 37), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 52, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 53, 15))

function foo11(x: B<string, number>);
>foo11 : Symbol(foo11, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 53, 26), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 55, 37), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 56, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 55, 15))
>B : Symbol(B, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 0, 0))

function foo11(x: typeof b); // ok
>foo11 : Symbol(foo11, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 53, 26), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 55, 37), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 56, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 56, 15))
>b : Symbol(b, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 21, 3))

function foo11(x: any) { }
>foo11 : Symbol(foo11, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 53, 26), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 55, 37), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 56, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 57, 15))

function foo12(x: I<string, number>);
>foo12 : Symbol(foo12, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 57, 26), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 59, 37), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 60, 37))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 59, 15))
>I : Symbol(I, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 10, 1))

function foo12(x: C<string, number>); // ok
>foo12 : Symbol(foo12, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 57, 26), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 59, 37), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 60, 37))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 60, 15))
>C : Symbol(C, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 6, 1))

function foo12(x: any) { }
>foo12 : Symbol(foo12, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 57, 26), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 59, 37), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 60, 37))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 61, 15))

function foo12b(x: I2);
>foo12b : Symbol(foo12b, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 61, 26), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 63, 23), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 64, 38))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 63, 16))
>I2 : Symbol(I2, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 14, 1))

function foo12b(x: C<string, number>); // BUG 832086
>foo12b : Symbol(foo12b, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 61, 26), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 63, 23), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 64, 38))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 64, 16))
>C : Symbol(C, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 6, 1))

function foo12b(x: any) { }
>foo12b : Symbol(foo12b, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 61, 26), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 63, 23), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 64, 38))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 65, 16))

function foo13(x: I<string, number>);
>foo13 : Symbol(foo13, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 65, 27), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 67, 37), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 68, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 67, 15))
>I : Symbol(I, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 10, 1))

function foo13(x: typeof a); // BUG 832086
>foo13 : Symbol(foo13, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 65, 27), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 67, 37), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 68, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 68, 15))
>a : Symbol(a, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 20, 3))

function foo13(x: any) { }
>foo13 : Symbol(foo13, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 65, 27), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 67, 37), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 68, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 69, 15))

function foo14(x: I<string, number>);
>foo14 : Symbol(foo14, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 69, 26), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 71, 37), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 72, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 71, 15))
>I : Symbol(I, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 10, 1))

function foo14(x: typeof b); // ok
>foo14 : Symbol(foo14, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 69, 26), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 71, 37), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 72, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 72, 15))
>b : Symbol(b, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 21, 3))

function foo14(x: any) { }
>foo14 : Symbol(foo14, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 69, 26), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 71, 37), Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 72, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.ts, 73, 15))