TypeScript/tests/baselines/reference/objectLiteralReferencingInternalProperties.errors.txt

4 lines
223 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/objectLiteralReferencingInternalProperties.ts (1 errors) ====
var a = { b: 10, c: b }; // Should give error for attempting to reference b.
~
!!! Cannot find name 'b'.