Avatar
なんと、これは動く! func foo(arg: (x: Int, y: String)) { if case (y: let bar, x: 0..<12) = arg { print(bar) } } foo(arg: (x: 4, y: "test"))