Avatar
let data = (0..<2*3).map { UInt8($0) } let a = data.map { $0 + 1 } let b: [UInt8] = data.map { $0 + 1 } /swift-execution/Sources/main.swift:3:32: warning: '+' is deprecated: Please use explicit type conversions or Strideable methods for mixed-type arithmetics. let b: [UInt8] = data.map { $0 + 1 } ^ Strideable+(UInt8, Int)との絡みだと思いますがなぜbだけ警告されるんでしょう?