You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current APIs match Swift 3, but not Swift 2.2. For early adopters, this causes some pain: Kitura/Kitura#349 (comment)
Perhaps we should provide both APIs for the time being? Or could we check the current version of the Swift compiler being used, and provide either 2.2-/3.0-compatible APIs?
The text was updated successfully, but these errors were encountered:
I'm intrigued by the idea of supporting both API versions in corelibs-xctest, but I'm thinking that it really isn't very feasible. Wouldn't that mean that the entire framework would need to be buildable by both the Swift 2.2 and 3 compilers, because binary distribution isn't possible? And not only corelibs-xctest, but also corelibs-foundation?
I'm wondering if I'm misunderstanding the approach that you are suggesting here @modocache?
But now that you mention it, I think you're right: I guess this isn't feasible. It isn't just a matter of the APIs--as you pointed out, it's also a matter of being able to compile the corelibs-xctest code on two versions of Swift. That's too much of a burden to seriously consider.
I do like this line of thinking though, and I'm optimistic that once we have the major breaking changes of Swift 3 behind us that it will get easier to maintain broader version support in libraries!
Additional Detail from JIRA
md5: c552ac518ced1233d8124027dfeee90b
Issue Description:
The current APIs match Swift 3, but not Swift 2.2. For early adopters, this causes some pain: Kitura/Kitura#349 (comment)
Perhaps we should provide both APIs for the time being? Or could we check the current version of the Swift compiler being used, and provide either 2.2-/3.0-compatible APIs?
The text was updated successfully, but these errors were encountered: