(hacky) fix for recursive types - fixes object-chaining.js