[swift-evolution] Pitch: Cross-module inlining and	specialization
    Jonas B 
    bobergj at gmail.com
       
    Wed Oct  4 00:21:10 CDT 2017
    
    
  
> 
> Yeah, but the compiler could handle NSObject as a special case. Are there enough other special cases that it is worth documenting and exposing a fragile attribute on classes to the user?
> 
Pitching in here.. currently if you do something remotely complex with protocols and generics you need a bunch of classes for type erasure.
I don’t want to think about what happens if you annotate a class with the "open” access modifier as @fragile/@inlineable though. Would @fragile become transitive? :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20171004/4191fe7a/attachment.html>
    
    
More information about the swift-evolution
mailing list