> Tried that too, it causes another error:
>
> /Developer/SwiftNEC 3/SwiftNEC/CardViews.swift:139:28: Expected ':' after
> 'case'
Huh, that's really strange. This syntax, which should be equivalent, causes a
compiler crash:
case (#selector(showRescale))?:
So does the slightly-more-shorthanded version:
case .some(#selector(showRescale)):
I'd file another bug about this, this time in the Swift open-source bug tracker
at <https://bugs.swift.org>.
--
Brent Royal-Gordon
Architechies
_______________________________________________
swift-users mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-users