[swift-evolution] [Discussion] Zero-element tuple glitch

Anton Zhilin antonyzhilin at gmail.com
Sun Jul 3 15:53:49 CDT 2016


let x = (Int, Int)(1, 2)  //=> (1, 2)
let y = (Int)(1)          //=> 1
let z = ()()              // error :(

Am I requesting too much from type checker?



More information about the swift-evolution mailing list