Merge pull request #12180 from practicalswift/swiftc-28847-type-hasunboundgenerictype