7 lines
No EOL
352 B
Text
7 lines
No EOL
352 B
Text
tests/cases/compiler/objectLiteralReferencingInternalProperties.ts(1,21): error TS2304: Cannot find name 'b'.
|
|
|
|
|
|
==== tests/cases/compiler/objectLiteralReferencingInternalProperties.ts (1 errors) ====
|
|
var a = { b: 10, c: b }; // Should give error for attempting to reference b.
|
|
~
|
|
!!! error TS2304: Cannot find name 'b'. |