[swift-evolution] [Pitch] Detecting and working with Optionals from Any

Charlie Monroe charlie at charliemonroe.net
Wed Jun 22 11:24:23 CDT 2016


> I'd call that a bug, not something requiring evolution discussion. We're trying to phase this behavior out of dynamic casts, though (see https://github.com/apple/swift-evolution/blob/master/proposals/0083-remove-bridging-from-dynamic-casts.md).

Ok, I've filed a bug report.

My suggestion to expose the Builtin.isOptional function though still stands since it may be of some use nevertheless.

> 
> -Joe



More information about the swift-evolution mailing list