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.
The modules in the 'stdlib/private' directory contain APIs that are considered private to the Swift project. Don't use them outside of the repositories related to the Swift project. These APIs are used for building Swift build and test automation tools, represent early prototypes of APIs that are not intended to be included in the standard library soon, modules to support ports to other platforms, and other similar needs that are private to the Swift project and its development process.