TypeScript/tests/baselines/reference/parserNotHexLiteral1.errors.txt
2014-07-12 17:30:19 -07:00

11 lines
420 B
Plaintext

==== tests/cases/conformance/parser/ecmascript5/RegressionTests/parserNotHexLiteral1.ts (2 errors) ====
var x = {e0: 'cat', x0: 'dog'};
console.info (x.x0);
~~~~~~~
!!! Cannot find name 'console'.
// 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);
~~~~~~~
!!! Cannot find name 'console'.