Commits
Joe Groff committed 5c09ca5ee53
Sema: Don't allow protocols to be used as non-self-conforming existential types. These types are often useless and confusing to users who expect to be able to use Sequence or Generator as types in their own right like in C# or Java. While we're here, relax the rules for self-conformance to admit methods returning 'Self'. Covariant return types should not actually prevent a protocol type from conforming to itself, and the stdlib makes particular use of protocols with 'init' requirements which implicitly return Self. Swift SVN r18989