[SR-1767] Compiler should apply optionalization to framework API whose nullability changes, in statements like conditional binding #44376
Labels
compiler
The Swift compiler in itself
feature
A feature request or implementation
will not do
Resolution: Will not be worked on
Additional Detail from JIRA
md5: 9b55d5caf01827600c2469eb857918d6
Issue Description:
When nullability of framework API changes client code has a hard time to reconcile the conflict if it still needs to support old SDK, which happens during OS update like now iOS 9 -> iOS 10 because developers need to update code to new SDK asap but still have to use current version of Xcode to submit apps to the App Store.
Example:
The returning type of CIContext.createCGImage changes from CGImage to CGImage?.
Discussion:
https://twitter.com/an0/status/742859080176373760
The text was updated successfully, but these errors were encountered: