> On Dec 12, 2017, at 9:26 AM, C. Keith Ray <keith...@mac.com> wrote:
> 
> in https://gist.github.com/lattner/b016e1cf86c43732c8d82f90e5ae5438 
> <https://gist.github.com/lattner/b016e1cf86c43732c8d82f90e5ae5438>
> 
> there is this statement:
> 
> "For this reason, the compiler only permits conformance of this protocol on 
> the original type definition, not extensions"
> 
> and this example:
> 
> extension JSON : DynamicMemberLookupProtocol {
> 
> 
> Contradictory?

Yes, thanks for catching that, I fixed the proposal to not describe these as 
extensions.

> Calling Java from C is done like the following, how would one do it in Swift 
> using this proposal?

I’m not sure what your question is.  I’m not an expert in JNI interop.

-Chris


_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to