Re: [swift-dev] "does not conform to protocol" --> Tell me what to add

2016-04-20 Thread Douglas Gregor via swift-dev
> On Apr 20, 2016, at 4:37 PM, Joseph Bell via swift-dev > wrote: > > I've noticed in Xcode there are a lot of fixits that tell you exactly what to > do to "fix it", and it will do it for you. However, this does not apply to > "does not conform to protocol" errors; I'm wondering if it is pos

Re: [swift-dev] "does not conform to protocol" --> Tell me what to add

2016-04-20 Thread Jordan Rose via swift-dev
Xcode does tell you which members are not present; they're in the notes for the "does not conform" message, which you can see in the Issue Navigator or Log Navigator. I'm pretty sure we have an outstanding Radar about making fix-its for these too, but it's hard to know where in your type or exte

[swift-dev] "does not conform to protocol" --> Tell me what to add

2016-04-20 Thread Joseph Bell via swift-dev
I've noticed in Xcode there are a lot of fixits that tell you exactly what to do to "fix it", and it will do it for you. However, this does not apply to "does not conform to protocol" errors; I'm wondering if it is possible for the fixit engine to add methods/properties such that, at a minimum, a