mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
If the element type is `Any` i.e. `for (x, y) in [] { ... }`
it would never match the pattern and the pattern (`rhs` = `(x, y)`)
doesn't have any other source of contextual information,
so instead of waiting for elements to become holes with an
unrelated fixes, let's proactively bind all of the pattern
elements to holes.
Resolves: rdar://100343275
554 KiB
554 KiB