Create a gist now

Instantly share code, notes, and snippets.

The most epic, uninformative, confusing Scala type error I've ever seen
[error] /Users/pchiusano/Dropbox/projects/scalaz-stream/src/main/scala/scalaz/stream/TypeAligned.scala:190: type mismatch;
[error] found : Q[[x(in type f), y(in type f)]typealigned.CQ[Q,C,x(in type f),y(in type f)],x(in method apply),b]
[error] required: Q[[x(in type f), y(in type f)]typealigned.CQ[Q,C,x(in type f),y(in type f)],y(in method apply),b]
[error] val tl = linkAll[C,y,b](t.value)
@pchiusano
Owner

Fixed by removing [C,y,b] annotation!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment