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 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340
|
=== tests/cases/conformance/types/typeRelationships/typeAndMemberIdentity/objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts ===
// object types are identical structurally
class A {
>A : Symbol(A, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 0, 0))
foo<T>(x: T): T { return null; }
>foo : Symbol(A.foo, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 2, 9))
>T : Symbol(T, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 3, 8))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 3, 11))
>T : Symbol(T, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 3, 8))
>T : Symbol(T, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 3, 8))
}
class B<U> {
>B : Symbol(B, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 4, 1))
>U : Symbol(U, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 6, 8))
foo(x: U): U { return null; }
>foo : Symbol(B.foo, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 6, 12))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 7, 8))
>U : Symbol(U, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 6, 8))
>U : Symbol(U, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 6, 8))
}
class C<V> {
>C : Symbol(C, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 8, 1))
>V : Symbol(V, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 10, 8))
foo(x: V): V { return null; }
>foo : Symbol(C.foo, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 10, 12))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 11, 8))
>V : Symbol(V, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 10, 8))
>V : Symbol(V, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 10, 8))
}
interface I<X> {
>I : Symbol(I, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 12, 1))
>X : Symbol(X, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 14, 12))
foo(x: X): X;
>foo : Symbol(I.foo, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 14, 16))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 15, 8))
>X : Symbol(X, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 14, 12))
>X : Symbol(X, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 14, 12))
}
interface I2 {
>I2 : Symbol(I2, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 16, 1))
foo<Y>(x: Y): Y;
>foo : Symbol(I2.foo, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 18, 14))
>Y : Symbol(Y, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 19, 8))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 19, 11))
>Y : Symbol(Y, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 19, 8))
>Y : Symbol(Y, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 19, 8))
}
var a: { foo<Z>(x: Z): Z }
>a : Symbol(a, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 22, 3))
>foo : Symbol(foo, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 22, 8))
>Z : Symbol(Z, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 22, 13))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 22, 16))
>Z : Symbol(Z, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 22, 13))
>Z : Symbol(Z, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 22, 13))
var b = { foo<A>(x: A) { return x; } };
>b : Symbol(b, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 23, 3))
>foo : Symbol(foo, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 23, 9))
>A : Symbol(A, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 23, 14))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 23, 17))
>A : Symbol(A, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 23, 14))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 23, 17))
function foo1(x: A);
>foo1 : Symbol(foo1, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 23, 39), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 25, 20), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 26, 20))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 25, 14))
>A : Symbol(A, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 0, 0))
function foo1(x: A); // error
>foo1 : Symbol(foo1, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 23, 39), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 25, 20), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 26, 20))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 26, 14))
>A : Symbol(A, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 0, 0))
function foo1(x: any) { }
>foo1 : Symbol(foo1, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 23, 39), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 25, 20), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 26, 20))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 27, 14))
function foo1b(x: B<string>);
>foo1b : Symbol(foo1b, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 27, 25), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 29, 29), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 30, 29))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 29, 15))
>B : Symbol(B, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 4, 1))
function foo1b(x: B<string>); // error
>foo1b : Symbol(foo1b, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 27, 25), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 29, 29), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 30, 29))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 30, 15))
>B : Symbol(B, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 4, 1))
function foo1b(x: any) { }
>foo1b : Symbol(foo1b, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 27, 25), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 29, 29), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 30, 29))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 31, 15))
function foo1c(x: C<string>);
>foo1c : Symbol(foo1c, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 31, 26), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 33, 29), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 34, 29))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 33, 15))
>C : Symbol(C, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 8, 1))
function foo1c(x: C<string>); // error
>foo1c : Symbol(foo1c, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 31, 26), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 33, 29), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 34, 29))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 34, 15))
>C : Symbol(C, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 8, 1))
function foo1c(x: any) { }
>foo1c : Symbol(foo1c, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 31, 26), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 33, 29), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 34, 29))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 35, 15))
function foo2(x: I<string>);
>foo2 : Symbol(foo2, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 35, 26), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 37, 28), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 38, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 37, 14))
>I : Symbol(I, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 12, 1))
function foo2(x: I<string>); // error
>foo2 : Symbol(foo2, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 35, 26), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 37, 28), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 38, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 38, 14))
>I : Symbol(I, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 12, 1))
function foo2(x: any) { }
>foo2 : Symbol(foo2, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 35, 26), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 37, 28), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 38, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 39, 14))
function foo3(x: typeof a);
>foo3 : Symbol(foo3, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 39, 25), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 41, 27), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 42, 27))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 41, 14))
>a : Symbol(a, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 22, 3))
function foo3(x: typeof a); // error
>foo3 : Symbol(foo3, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 39, 25), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 41, 27), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 42, 27))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 42, 14))
>a : Symbol(a, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 22, 3))
function foo3(x: any) { }
>foo3 : Symbol(foo3, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 39, 25), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 41, 27), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 42, 27))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 43, 14))
function foo4(x: typeof b);
>foo4 : Symbol(foo4, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 43, 25), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 45, 27), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 46, 27))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 45, 14))
>b : Symbol(b, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 23, 3))
function foo4(x: typeof b); // error
>foo4 : Symbol(foo4, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 43, 25), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 45, 27), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 46, 27))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 46, 14))
>b : Symbol(b, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 23, 3))
function foo4(x: any) { }
>foo4 : Symbol(foo4, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 43, 25), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 45, 27), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 46, 27))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 47, 14))
function foo5(x: A);
>foo5 : Symbol(foo5, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 47, 25), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 49, 20), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 50, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 49, 14))
>A : Symbol(A, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 0, 0))
function foo5(x: B<string>); // ok
>foo5 : Symbol(foo5, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 47, 25), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 49, 20), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 50, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 50, 14))
>B : Symbol(B, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 4, 1))
function foo5(x: any) { }
>foo5 : Symbol(foo5, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 47, 25), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 49, 20), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 50, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 51, 14))
function foo5b(x: A);
>foo5b : Symbol(foo5b, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 51, 25), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 53, 21), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 54, 29))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 53, 15))
>A : Symbol(A, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 0, 0))
function foo5b(x: C<string>); // ok
>foo5b : Symbol(foo5b, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 51, 25), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 53, 21), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 54, 29))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 54, 15))
>C : Symbol(C, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 8, 1))
function foo5b(x: any) { }
>foo5b : Symbol(foo5b, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 51, 25), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 53, 21), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 54, 29))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 55, 15))
function foo6(x: A);
>foo6 : Symbol(foo6, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 55, 26), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 57, 20), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 58, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 57, 14))
>A : Symbol(A, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 0, 0))
function foo6(x: I<string>); // ok
>foo6 : Symbol(foo6, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 55, 26), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 57, 20), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 58, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 58, 14))
>I : Symbol(I, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 12, 1))
function foo6(x: any) { }
>foo6 : Symbol(foo6, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 55, 26), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 57, 20), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 58, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 59, 14))
function foo7(x: A);
>foo7 : Symbol(foo7, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 59, 25), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 61, 20), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 62, 27))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 61, 14))
>A : Symbol(A, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 0, 0))
function foo7(x: typeof a); // error
>foo7 : Symbol(foo7, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 59, 25), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 61, 20), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 62, 27))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 62, 14))
>a : Symbol(a, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 22, 3))
function foo7(x: any) { }
>foo7 : Symbol(foo7, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 59, 25), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 61, 20), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 62, 27))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 63, 14))
function foo8(x: B<string>);
>foo8 : Symbol(foo8, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 63, 25), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 65, 28), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 66, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 65, 14))
>B : Symbol(B, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 4, 1))
function foo8(x: I<string>); // error
>foo8 : Symbol(foo8, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 63, 25), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 65, 28), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 66, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 66, 14))
>I : Symbol(I, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 12, 1))
function foo8(x: any) { }
>foo8 : Symbol(foo8, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 63, 25), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 65, 28), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 66, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 67, 14))
function foo9(x: B<string>);
>foo9 : Symbol(foo9, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 67, 25), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 69, 28), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 70, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 69, 14))
>B : Symbol(B, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 4, 1))
function foo9(x: C<string>); // error
>foo9 : Symbol(foo9, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 67, 25), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 69, 28), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 70, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 70, 14))
>C : Symbol(C, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 8, 1))
function foo9(x: any) { }
>foo9 : Symbol(foo9, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 67, 25), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 69, 28), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 70, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 71, 14))
function foo10(x: B<string>);
>foo10 : Symbol(foo10, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 71, 25), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 73, 29), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 74, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 73, 15))
>B : Symbol(B, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 4, 1))
function foo10(x: typeof a); // ok
>foo10 : Symbol(foo10, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 71, 25), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 73, 29), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 74, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 74, 15))
>a : Symbol(a, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 22, 3))
function foo10(x: any) { }
>foo10 : Symbol(foo10, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 71, 25), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 73, 29), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 74, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 75, 15))
function foo11(x: B<string>);
>foo11 : Symbol(foo11, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 75, 26), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 77, 29), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 78, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 77, 15))
>B : Symbol(B, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 4, 1))
function foo11(x: typeof b); // ok
>foo11 : Symbol(foo11, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 75, 26), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 77, 29), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 78, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 78, 15))
>b : Symbol(b, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 23, 3))
function foo11(x: any) { }
>foo11 : Symbol(foo11, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 75, 26), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 77, 29), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 78, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 79, 15))
function foo12(x: I<string>);
>foo12 : Symbol(foo12, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 79, 26), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 81, 29), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 82, 29))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 81, 15))
>I : Symbol(I, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 12, 1))
function foo12(x: C<string>); // error
>foo12 : Symbol(foo12, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 79, 26), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 81, 29), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 82, 29))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 82, 15))
>C : Symbol(C, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 8, 1))
function foo12(x: any) { }
>foo12 : Symbol(foo12, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 79, 26), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 81, 29), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 82, 29))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 83, 15))
function foo12b(x: I2);
>foo12b : Symbol(foo12b, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 83, 26), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 85, 23), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 86, 30))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 85, 16))
>I2 : Symbol(I2, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 16, 1))
function foo12b(x: C<string>); // ok
>foo12b : Symbol(foo12b, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 83, 26), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 85, 23), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 86, 30))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 86, 16))
>C : Symbol(C, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 8, 1))
function foo12b(x: any) { }
>foo12b : Symbol(foo12b, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 83, 26), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 85, 23), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 86, 30))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 87, 16))
function foo13(x: I<string>);
>foo13 : Symbol(foo13, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 87, 27), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 89, 29), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 90, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 89, 15))
>I : Symbol(I, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 12, 1))
function foo13(x: typeof a); // ok
>foo13 : Symbol(foo13, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 87, 27), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 89, 29), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 90, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 90, 15))
>a : Symbol(a, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 22, 3))
function foo13(x: any) { }
>foo13 : Symbol(foo13, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 87, 27), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 89, 29), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 90, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 91, 15))
function foo14(x: I<string>);
>foo14 : Symbol(foo14, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 91, 26), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 93, 29), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 94, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 93, 15))
>I : Symbol(I, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 12, 1))
function foo14(x: typeof b); // ok
>foo14 : Symbol(foo14, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 91, 26), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 93, 29), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 94, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 94, 15))
>b : Symbol(b, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 23, 3))
function foo14(x: any) { }
>foo14 : Symbol(foo14, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 91, 26), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 93, 29), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 94, 28))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 95, 15))
function foo15(x: I2);
>foo15 : Symbol(foo15, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 95, 26), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 97, 22), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 98, 29))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 97, 15))
>I2 : Symbol(I2, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 16, 1))
function foo15(x: C<number>); // ok
>foo15 : Symbol(foo15, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 95, 26), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 97, 22), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 98, 29))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 98, 15))
>C : Symbol(C, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 8, 1))
function foo15(x: any) { }
>foo15 : Symbol(foo15, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 95, 26), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 97, 22), Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 98, 29))
>x : Symbol(x, Decl(objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.ts, 99, 15))
|