TypeScript/tests/cases/compiler/objectLiteralReferencingInternalProperties.ts
2014-07-12 17:30:19 -07:00

1 line
76 B
TypeScript

var a = { b: 10, c: b }; // Should give error for attempting to reference b.