Files
tsgo/testdata/baselines/reference/compiler/numericExportNameDeclaration.symbols
711934526c Handle numeric literal export names in declaration emit (#3919)
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: jakebailey <[email protected]>
2026-05-18 17:38:27 +00:00

20 lines
837 B
Plaintext

//// [tests/cases/compiler/numericExportNameDeclaration.ts] ////
=== bug.js ===
exports[1] = 2;
>exports : Symbol(exports, Decl(bug.js, 0, 0))
>1 : Symbol(1, Decl(bug.js, 0, 0), Decl(bug.js, 0, 15), Decl(bug.js, 1, 22))
module.exports[1] = 2;
>module.exports : Symbol(exports, Decl(bug.js, 0, 0))
>module : Symbol(module, Decl(bug.js, 0, 0))
>exports : Symbol(exports, Decl(bug.js, 0, 0))
>1 : Symbol(1, Decl(bug.js, 0, 0), Decl(bug.js, 0, 15), Decl(bug.js, 1, 22))
Object.defineProperty(exports, 1, {});
>Object.defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
>defineProperty : Symbol(ObjectConstructor.defineProperty, Decl(lib.es5.d.ts, --, --))
>exports : Symbol(exports, Decl(bug.js, 0, 0))