[SR-5922] Fix-it for API availability inserts iOSApplicationExtension instead of iOS on frameworks #48481
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
Environment
Swift version 4.0 (swiftlang-900.0.63 clang-900.0.37)
Additional Detail from JIRA
md5: e3ad821af15630b21949107e255f13e2
Issue Description:
On an iOS framework with a deployment target of iOS 10.0, the following code:
Produces:
With this fixit:
However, that code ends up not being invoked, because the container is not an extension (in my particular project, this framework is used in an app AND an extension though, not sure if that's relevant).
The text was updated successfully, but these errors were encountered: