Avatar
omochimetaru 7/27/2017 3:21 AM
enum EE { case a(Int, Int) case b } let ee = EE.a(7, 9) switch ee { case let .a(x, y): print(x, y) default: break } /* output 7 9 */ (edited)