mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Out of an abundance of caution, we: 1. Left in parsing support for transferring but internally made it rely on the internals of sending. 2. Added a warning to tell people that transferring was going to be removed very soon. Now that we have given people some time, remove support for parsing transferring. rdar://130253724
5 lines
222 B
Swift
5 lines
222 B
Swift
|
|
public func testSending(_ x: sending String) -> sending String { x }
|
|
public func testSendingFunc(_ x: (sending String) -> ()) { fatalError() }
|
|
public func testSendingResultFunc(_ x: () -> sending String) { fatalError() }
|