Avatar
https://github.com/apple/swift/pull/11441 case let catArray as [Cat]: の件、 issue 出しておいたら、とりあえず未サポートってことになりましたw
For switch statements like the following class Animal {} class Cat : Animal {} class Dog : Animal {} func check(_ arry: [Animal]) { switch arry { case is [Cat]: () case let dogs as [Dog]...
🙂 1