[swift-users] Regression in Xcode8-beta6 Swift?

Quinn "The Eskimo!" eskimo1 at apple.com
Thu Aug 25 02:59:56 CDT 2016

On 25 Aug 2016, at 08:23, David Hart via swift-users <swift-users at swift.org> wrote:

> You can’t call arbitrary functions on AnyObject anymore.

You’re mixing up `Any` and `AnyObject`.  You can still call arbitrary methods on `AnyObject`, as Martin demonstrated, but Travis’s error message referenced `Any`.

SE-0116 [1] means that `Any` is a lot more common these days.

Notwithstanding the above, I don’t have any input on the change of behaviour Travis is seeing.

Share and Enjoy
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

[1] <https://github.com/apple/swift-evolution/blob/master/proposals/0116-id-as-any.md>

More information about the swift-users mailing list