Commits

Doug Gregor committed 9f0bbc76edf
When creating a member reference, use a conversion constraint rather than a subtyping constraint to relate the base type and the owner type. This is required when the owner type is a protocol, because the base type is something that conforms to that protocol (e.g., an archetype), and this relationship is a conversion rather than a subtype. Note, however, that this does *not* allow arbitrary conversions to occur for the purposes of member access, because name lookup for the member will only find members when we're dealing with protocol conformances or base classes. Swift SVN r2916