[swift-evolution] [REVIEW] SE-0193 - Cross-module inlining and specialization

Slava Pestov spestov at apple.com
Thu Dec 21 00:46:23 CST 2017

> On Dec 20, 2017, at 10:34 PM, Slava Pestov via swift-evolution <swift-evolution at swift.org> wrote:
>> Perhaps a diagnostic like this would cause problems if you started with an @inlinable function that called an @abiPublic function and then in a subsequent version of your module you modified the @inlinable function such that it no longer calls the @abiPublic function. You would still need to keep that @abiPublic function to support clients that had inlined the old version, right?
> This is correct; you may well end up with newer versions of a library that carry @abiPublic symbols only for compatibility reasons.

Perhaps an “unused symbol checker” could skip @abiPublic declarations that have been marked as deprecated or unavailable.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20171220/8af79269/attachment.html>

More information about the swift-evolution mailing list