Avatar
let foo: (Int ...)->() = { x in print(x) } let _foo = foo as Any 元がクロージャだとコンパイラクラッシュ。うーん、可変引数クロージャは触らない方が安全だ。 (edited)
4:43 AM