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

Slava Pestov spestov at apple.com
Wed Dec 20 22:25:15 CST 2017


Hi Tony,

Thanks for the review!

> On Dec 20, 2017, at 8:09 PM, Tony Allevato via swift-evolution <swift-evolution at swift.org> wrote:
> 
> A related question (with some background): My assumption is that conditional compilation directives (e.g., #if DEBUG) are resolved *before* an @inlinable function is serialized to the module. Is that correct?

That is correct. Conditional compilation directives are always resolved in the context of the defining module.

Slava

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


More information about the swift-evolution mailing list