mirror of
https://github.com/apple/swift.git
synced 2026-03-04 18:24:35 +01:00
RequirementEnvironment wasn't prepared to handle a protocol requirement with additional 'where' clause constraints but no generic parameters. Since such a requirement necessarily runs afoul of the existing "protocol requirements cannot constrain Self" rule, it suffices to ignore such requirements when matching witnesses and let the declaration checker diagnose this situation later. Fixes <rdar://problem/61876053>.