mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 11:11:30 +03:00
6 lines
194 B
TypeScript
6 lines
194 B
TypeScript
var x = {e0: 'cat', x0: 'dog'};
|
|
console.info (x.x0);
|
|
// tsc dies on this next line with "bug.ts (5,16): Expected ')'"
|
|
// tsc seems to be parsing the e0 as a hex constant.
|
|
console.info (x.e0);
|