Oops, some typos in my original message. Fixes below:

On Wed, Jul 20, 2016 at 9:22 AM, Dan Loewenherz <[email protected]> wrote:
> // Make the method unavailable on watchOS, refer to its renamed counterpart
> @unavailable(*, renamed=“hello") == @available(*, renamed="hello", 
> unavailable)

Should be:

@unavailable(watchOS, renamed=“hello”)

>
> // Make the method unavailable on watchOS, refer to its renamed
> counterpart, and add a message
> @unavailable(*, renamed="hello", message="This method had been
renamed”)

Should be:

@unavailable(watchOS, renamed=“hello”, message=“This method had been renamed")

Dan
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to