mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This hit an assertion I was trying to add to make sure we don't try to recursively type-check when type-checking a closure. Currently we can end up type-checking the initializer for `x` while generating constraints for the closure due to the fact that we eagerly compute the interface type for the backing lazy storage var. We ought to make that computation lazy, but in the mean time, add this test case.