unfiltered/unfiltered — pull request #135 by hubertp (2012-07-26 08:11:27+00:00)
Title: Workaround for unsound type parameter inference.

Issue was fixed in 2.10.x Scala compiler (bug SI-5189),
so the given piece of code would infer the type of resp
to be ResponseFunction[Nothing].
Type parameter A in ReponseFunction would have to be covariant
in order to infer ReponseFunction[Any].
Casting is a bit ugly, but we also used it in the scala library as otherwise
it would require quite a bit of refactoring.
With this change unfiltered compiles with 2.10.0-M5 (or at least a revision close to it).