[SR-1956] withUnsafePointer
shouldn't take its argument as inout
#44565
Labels
affects ABI
Flag: Affects ABI
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
standard library
Area: Standard library umbrella
swift evolution proposal needed
Flag → feature: A feature that warrants a Swift evolution proposal
Additional Detail from JIRA
md5: 8e53bb39aa7c76996fc1ff7050056a6c
relates to:
Issue Description:
Since withUnsafePointer produces a non-mutable pointer, it should not take the argument inout.
NOTE: requires a swift-evolution proposal. (apple/swift-evolution#437
The text was updated successfully, but these errors were encountered: