> On May 11, 2016, at 10:18 PM, Chris Lattner <clatt...@apple.com> wrote: > As Dmitri, we specifically discussed this in the core team meeting (I brought > it up :-). The problem is that we really only want the toOpaque() method to > exist on UnsafePointer<Void> and don’t have the ability to model that in the > language yet. When that ability exists, we’ll revise these APIs and many > others. >
Ah good old “same-type requirement makes generic parameter non-generic” :) I see what the objection is and it makes sense to me. I’ll implement it as closely as I can to the spirit of the proposal. Russ
_______________________________________________ swift-dev mailing list swift-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-dev