You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It happens in the source: /Pods/Macaw/Source/model/draw/ColorMatrix.swift:60:17: The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions.
Enabling source editing and adding type to expression fixes the problem. New code look as follows:
let a: (Int) -> Double = { i in
m1[i] + c * m2[i] + s * m3[i]
}
Added type (Int) -> Double here. It would be great to have it out of box.
The text was updated successfully, but these errors were encountered:
It happens in the source:
/Pods/Macaw/Source/model/draw/ColorMatrix.swift:60:17: The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions.
Enabling source editing and adding type to expression fixes the problem. New code look as follows:
let a: (Int) -> Double = { i in
m1[i] + c * m2[i] + s * m3[i]
}
Added type (Int) -> Double here. It would be great to have it out of box.
The text was updated successfully, but these errors were encountered: