[swift-users] Can't implement generic subscript in protocol

Joanna Carter joanna at carterconsulting.org.uk
Fri Sep 15 13:45:53 CDT 2017


The answer to the segmentation fault is that I was trying to assign the subscript "method" to a closure var of the same signature.

It would seem Swift doesn't allow this :-(

Joanna

--
Joanna Carter
Carter Consulting



More information about the swift-users mailing list