mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Instead of asking SILGen to build calls to `makeIterator` and `$generator.next()`, let's synthesize and type-check them together with the rest of for-in preamble. This greatly simplifies interaction between Sema and SILGen for for-in statements.
524 KiB
524 KiB