[swift-evolution] [Pitch] Parse expressions after 'as' and 'is' instead of just types

Timothy Wood tjw at me.com
Mon May 16 16:24:13 CDT 2016


> On May 16, 2016, at 2:06 PM, Joe Groff via swift-evolution <swift-evolution at swift.org> wrote:
> 
> Looking to the future, many people have also expressed interest in the ability to do dynamic type checks against metatype values, not only static types, as in:

+1 -- I’ve definitely needed this before, and ended up having to escape out to Obj-C (which worked for my particular case, but maybe wouldn’t have if the type I wanted to check against was a Swift protocol?).

-tim



More information about the swift-evolution mailing list