mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 21:21:31 +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);
|