Open younata opened 8 years ago
Oh no! Thanks for filing this @younata. You're the best at finding edge cases (seriously, no sarcasm).
Yeah, that's not terribly surprising. As a workaround, I bet you could typealias your generic type and have this work just fine.
typealias CarthageSignalProducer SignalProducer<NSURL, CarthageError>
public protocol Archiver {
func unzipArchiveToTemporaryDirectory(fileURL: NSURL) -> CarthageSignalProducer
}
(I did not verify if this code compiles, but you get the idea).
I'd be happy to merge a PR for this if you're interested. I just got the plugin compiling and tests passing again after the Xcode 7.3 update, so it should be in a good spot to contribute if you'd like.
If not, well, I'll put it on my list of work to do ... eventually? :skull:
For example, if I have a protocol that looks like:
and I hit "^g", I get:
which, uh, is not correct.