TypeScript/tests/cases/conformance/salsa/circularMultipleAssignmentDeclaration.ts
Nathan Shively-Sanders 82f927f8dd
Fix stack overflow in circular assignment declaration (#34543)
* Fix stack overflow in circular assignment declaration

It also needs to have multiple assignments so that it has a ValueModule
flag.

Fixes #33006

* remove errant comment

* Remove other possible circularity

* Restore fallback with additional condition
2019-10-18 09:01:21 -07:00

7 lines
174 B
TypeScript

// @filename:circularMultipleAssignmentDeclaration.js
// @allowJs: true
// @checkJs: true
// @noEmit: true
ns.next = ns.next || { shared: {} };
ns.next.shared.mymethod = {};