mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The change in CheckMutableCollectionType.swift.gyb previously resulted in a runtime failure, and before that a compiler crash. It appears that whatever type checker bug(s) were causing the issue have been resolved in the last few months, so I'm returning this closure to a single-expression form and cleaning up a couple other places where we had an unneeded temporary as well. Resolves rdar://problem/33781464.