1. Swift报错: Swift Compiler Error Binary oprator '+' cannot be applied to operands of type 'UInt16' and 'UInt8'
错误写法:
let a:UInt16 = 1_000
let b: UInt8 =1
let sum = a + b
1. Swift报错: Swift Compiler Error Binary oprator '+' cannot be applied to operands of type 'UInt16' and 'UInt8'
错误写法:
let a:UInt16 = 1_000
let b: UInt8 =1
let sum = a + b