[swift-evolution-announce] [Accepted] SE-0075: Adding a Build Configuration Import Test

Chris Lattner clattner at apple.com
Wed May 18 23:47:47 CDT 2016


Proposal link: https://github.com/apple/swift-evolution/blob/master/proposals/0075-import-test.md

Hello Swift Community,

The review of SE-0075: "Adding a Build Configuration Import Test" ran from May 10…16, 2016. The proposal is *accepted* for Swift 3.

The community and core team are both very positive about adding this functionality.  It is precedented by the __has_include feature in Clang, and may have applicability allowing “conditionally available” features for SwiftPM modules in the future.  The core team spent a significant amount of time discussing the proper naming for this, and came to agree that “canImport” (as proposed) is the best name for this conditional.

Thank you to Erica Sadun proposing this!  I filed SR-1560 to track implementation of this feature, this is a great starter bug for someone who wants to get involved in the compiler.

-Chris Lattner
Review Manager


More information about the swift-evolution-announce mailing list