tayloraswift / jpeg

decode, inspect, edit, and encode jpeg images in pure swift
https://kelvin13.github.io/jpeg/
Mozilla Public License 2.0
142 stars 17 forks source link

Examples don't compile in Xcode 14.0 beta 6 (14A5294g) #10

Closed valeriyvan closed 1 year ago

valeriyvan commented 1 year ago
:0: error: conflicting arguments to generic parameter 'Elements' ('[(luminance: (x: Int, y: Int), chrominance: (x: Int, y: Int), name: String)]' vs. '[((Int, Int), (Int, Int), String)]') */jpeg/examples/encode-basic/main.swift:30:1: error: conflicting arguments to generic parameter 'Self' ('[(luminance: (x: Int, y: Int), chrominance: (x: Int, y: Int), name: String)]' vs. '[((Int, Int), (Int, Int), String)]') ] ^ *p/jpeg/examples/encode-basic/main.swift:25:1: error: conflicting arguments to generic parameter 'Element' ('(luminance: (x: Int, y: Int), chrominance: (x: Int, y: Int), name: String)' vs. '((Int, Int), (Int, Int), String)') [ ^ */jpeg/examples/encode-basic/main.swift:25:1: error: conflicting arguments to generic parameter 'Element' ('(luminance: (x: Int, y: Int), chrominance: (x: Int, y: Int), name: String)' vs. '((Int, Int), (Int, Int), String)') [ ^ */jpeg/examples/encode-basic/main.swift:30:1: error: conflicting arguments to generic parameter 'Self' ('[(luminance: (x: Int, y: Int), chrominance: (x: Int, y: Int), name: String)]' vs. '[((Int, Int), (Int, Int), String)]') ] ^ :0: error: conflicting arguments to generic parameter 'Elements' ('[(luminance: (x: Int, y: Int), chrominance: (x: Int, y: Int), name: String)]' vs. '[((Int, Int), (Int, Int), String)]')