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
Fix Expr.{unlift, unliftOrError} and add missing Unliftables
* Fix `unlift` to recive the most precise `Unliftable`.
Previously we could not add `Unliftable[List[T]]` because the implicit search
would fail with an ambigouity between `Unliftable[List[T]]` and `Unliftable[List[T]]`.
this came from the `U >: T` bound that was added to workarround the covariant `T`.
As extension methods we can simply have the same `T` for the expression type and the
unliftable type. This way, we also find the most precise `T`/`Unliftable[T]` available.
* Add unliftable for `Nil`/`List`
* Add unliftable for `None`/`Some`
* Add unliftable for `Map`
* Add unliftable for `Set`
* Add unliftable for `Left`/`Right`
* Add unliftable for `EmptyTuple`
* Support `->` in `Tuple2`
0 commit comments