4 lines
No EOL
223 B
Text
4 lines
No EOL
223 B
Text
==== 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'. |