mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
A lot of operators (and most likely regular functions a well) have overloads that accept i.e. a generic parameter that conforms to `StringProtocol`, so the best fix in situations when argument is a raw representable type would be to check whether `.rawValue` conforms to the expected protocol and use it if so. Resolves rdar://problem/75367157
17 KiB
17 KiB