|
| 1 | +=== tests/cases/compiler/unnecessaryReferenceChecksWithPropertySignature.ts === |
| 2 | +interface C { |
| 3 | +>C : Symbol(C, Decl(unnecessaryReferenceChecksWithPropertySignature.ts, 0, 0), Decl(unnecessaryReferenceChecksWithPropertySignature.ts, 3, 1)) |
| 4 | + |
| 5 | + [C.a](): void; |
| 6 | +>[C.a] : Symbol(C[C.a], Decl(unnecessaryReferenceChecksWithPropertySignature.ts, 0, 13)) |
| 7 | +>C.a : Symbol(C.a, Decl(unnecessaryReferenceChecksWithPropertySignature.ts, 4, 9)) |
| 8 | +>C : Symbol(C, Decl(unnecessaryReferenceChecksWithPropertySignature.ts, 0, 0), Decl(unnecessaryReferenceChecksWithPropertySignature.ts, 3, 1)) |
| 9 | +>a : Symbol(C.a, Decl(unnecessaryReferenceChecksWithPropertySignature.ts, 4, 9)) |
| 10 | + |
| 11 | + [C.b]: void; |
| 12 | +>[C.b] : Symbol(C[C.b], Decl(unnecessaryReferenceChecksWithPropertySignature.ts, 1, 16)) |
| 13 | +>C.b : Symbol(C.b, Decl(unnecessaryReferenceChecksWithPropertySignature.ts, 5, 31)) |
| 14 | +>C : Symbol(C, Decl(unnecessaryReferenceChecksWithPropertySignature.ts, 0, 0), Decl(unnecessaryReferenceChecksWithPropertySignature.ts, 3, 1)) |
| 15 | +>b : Symbol(C.b, Decl(unnecessaryReferenceChecksWithPropertySignature.ts, 5, 31)) |
| 16 | +} |
| 17 | +class C { |
| 18 | +>C : Symbol(C, Decl(unnecessaryReferenceChecksWithPropertySignature.ts, 0, 0), Decl(unnecessaryReferenceChecksWithPropertySignature.ts, 3, 1)) |
| 19 | + |
| 20 | + static readonly a = Symbol(); |
| 21 | +>a : Symbol(C.a, Decl(unnecessaryReferenceChecksWithPropertySignature.ts, 4, 9)) |
| 22 | +>Symbol : Symbol(Symbol, Decl(lib.es6.d.ts, --, --), Decl(lib.es6.d.ts, --, --), Decl(lib.es6.d.ts, --, --)) |
| 23 | + |
| 24 | + static readonly b = Symbol(); |
| 25 | +>b : Symbol(C.b, Decl(unnecessaryReferenceChecksWithPropertySignature.ts, 5, 31)) |
| 26 | +>Symbol : Symbol(Symbol, Decl(lib.es6.d.ts, --, --), Decl(lib.es6.d.ts, --, --), Decl(lib.es6.d.ts, --, --)) |
| 27 | +} |
| 28 | + |
0 commit comments