exyte / Macaw

Powerful and easy-to-use vector graphics Swift library with SVG support
MIT License
6.01k stars 553 forks source link

The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions #731

Closed kenton7 closed 3 years ago

kenton7 commented 3 years ago

XCode version: Version 12.0 (12A7209) ColorMatrix.swift The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions

kenton7 commented 3 years ago
    let a = { i in - error in this line
        m1[i] + c * m2[i] + s * m3[i]
    }
kenton7 commented 3 years ago

Ok, I updated Macaw and it's ok