2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/objectLiteralReferencingInternalProperties.ts(1,21): error TS2304: Cannot find name 'b'.
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'b'.
|