|
| 1 | +=== tests/cases/compiler/declarationEmitFunctionKeywordProp.ts === |
| 2 | +function foo() {} |
| 3 | +>foo : Symbol(foo, Decl(declarationEmitFunctionKeywordProp.ts, 0, 0), Decl(declarationEmitFunctionKeywordProp.ts, 0, 17)) |
| 4 | + |
| 5 | +foo.null = true; |
| 6 | +>foo.null : Symbol(foo.null, Decl(declarationEmitFunctionKeywordProp.ts, 0, 17)) |
| 7 | +>foo : Symbol(foo, Decl(declarationEmitFunctionKeywordProp.ts, 0, 0), Decl(declarationEmitFunctionKeywordProp.ts, 0, 17)) |
| 8 | +>null : Symbol(foo.null, Decl(declarationEmitFunctionKeywordProp.ts, 0, 17)) |
| 9 | + |
| 10 | +function bar() {} |
| 11 | +>bar : Symbol(bar, Decl(declarationEmitFunctionKeywordProp.ts, 1, 16), Decl(declarationEmitFunctionKeywordProp.ts, 3, 17), Decl(declarationEmitFunctionKeywordProp.ts, 4, 17)) |
| 12 | + |
| 13 | +bar.async = true; |
| 14 | +>bar.async : Symbol(bar.async, Decl(declarationEmitFunctionKeywordProp.ts, 3, 17)) |
| 15 | +>bar : Symbol(bar, Decl(declarationEmitFunctionKeywordProp.ts, 1, 16), Decl(declarationEmitFunctionKeywordProp.ts, 3, 17), Decl(declarationEmitFunctionKeywordProp.ts, 4, 17)) |
| 16 | +>async : Symbol(bar.async, Decl(declarationEmitFunctionKeywordProp.ts, 3, 17)) |
| 17 | + |
| 18 | +bar.normal = false; |
| 19 | +>bar.normal : Symbol(bar.normal, Decl(declarationEmitFunctionKeywordProp.ts, 4, 17)) |
| 20 | +>bar : Symbol(bar, Decl(declarationEmitFunctionKeywordProp.ts, 1, 16), Decl(declarationEmitFunctionKeywordProp.ts, 3, 17), Decl(declarationEmitFunctionKeywordProp.ts, 4, 17)) |
| 21 | +>normal : Symbol(bar.normal, Decl(declarationEmitFunctionKeywordProp.ts, 4, 17)) |
| 22 | + |
| 23 | +function baz() {} |
| 24 | +>baz : Symbol(baz, Decl(declarationEmitFunctionKeywordProp.ts, 5, 19), Decl(declarationEmitFunctionKeywordProp.ts, 7, 17), Decl(declarationEmitFunctionKeywordProp.ts, 8, 17)) |
| 25 | + |
| 26 | +baz.class = true; |
| 27 | +>baz.class : Symbol(baz.class, Decl(declarationEmitFunctionKeywordProp.ts, 7, 17)) |
| 28 | +>baz : Symbol(baz, Decl(declarationEmitFunctionKeywordProp.ts, 5, 19), Decl(declarationEmitFunctionKeywordProp.ts, 7, 17), Decl(declarationEmitFunctionKeywordProp.ts, 8, 17)) |
| 29 | +>class : Symbol(baz.class, Decl(declarationEmitFunctionKeywordProp.ts, 7, 17)) |
| 30 | + |
| 31 | +baz.normal = false; |
| 32 | +>baz.normal : Symbol(baz.normal, Decl(declarationEmitFunctionKeywordProp.ts, 8, 17)) |
| 33 | +>baz : Symbol(baz, Decl(declarationEmitFunctionKeywordProp.ts, 5, 19), Decl(declarationEmitFunctionKeywordProp.ts, 7, 17), Decl(declarationEmitFunctionKeywordProp.ts, 8, 17)) |
| 34 | +>normal : Symbol(baz.normal, Decl(declarationEmitFunctionKeywordProp.ts, 8, 17)) |
| 35 | + |
0 commit comments