mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The existing check is no-op because it would never produce a null for `paramType` under the conditions in `else` branch. A better API it use here is `conformsToKnownProtocol` just like in other cases.