[swift-evolution] [Planning][Request] "constexpr" for Swift 5

Karl Wagner razielim at gmail.com
Sun Aug 6 10:23:09 CDT 2017


> On 6. Aug 2017, at 17:15, Karl Wagner via swift-evolution <swift-evolution at swift.org> wrote:
> 
> let newItems_heap = newItems.backing.isAllocatedInline ? newItems(withBacking: newItems.backing.clone()) : newItems

Should, of course, be:

let newItems_heap = newItems.backing.isAllocatedInline ? Array(withBacking: newItems.backing.clone()) : newItems
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170806/de5ba941/attachment.html>


More information about the swift-evolution mailing list