Files
swift-mirror/test/Serialization/Inputs/sending.swift
Michael Gottesman 112071e57d [sending] Remove transferring.
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
2024-06-21 16:03:21 -07:00

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() }