Closed
Description
Previous ID | SR-14611 |
Radar | None |
Original Reporter | ensan (JIRA User) |
Type | Bug |
Status | Closed |
Resolution | Done |
Environment
Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55)
Target: x86_64-apple-darwin20.3.0
Additional Detail from JIRA
Votes | 0 |
Component/s | Standard Library |
Labels | Bug |
Assignee | ensan (JIRA) |
Priority | Medium |
md5: 6ee0dc96ce528d7b90a1423b9e29abc7
Issue Description:
The argument of hasSuffix that StringProtocol requires is currently wrongly named. It should be `suffix`.
https://github.com/apple/swift/blob/main/stdlib/public/core/StringProtocol.swift#L46