is the "Protocols do not conform to themselves" limitation is
coming out?
2016-12-30 18:25 GMT+07:00 Rien <r...@balancingrock.nl>:
>
> > On 30 Dec 2016, at 12:14, Mikhail Seriukov via swift-users <
> swift-users@swift.org> wrote:
> >
> > Ok,
> &
round8.playground:9:5: error:
>> cannot invoke 'foo' with an argument list of type '(P)'
>>foo(x)
>>^
>>
>> MyPlayground8.playground:9:5: note: expected an argument list of type
>> '(A)'
>>foo(x)
>>^
>>
>> I.e. you are pa
rgument list of type '(P)'
>>foo(x)
>>^
>>
>> MyPlayground8.playground:9:5: note: expected an argument list of type
>> '(A)'
>> foo(x)
>>^
>>
>> I.e. you are passing in a protocol while the function is specified for a
>> type.
>&