Created
September 10, 2013 13:13
-
-
Save andresilva/6509211 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trait Bar[In <: HList, Out <: HList] | |
class Foo[T](implicit gen: Generic[T]) { | |
def apply[L <: HList](implicit bar: Bar[L, gen.Repr]) = null | |
} | |
// error: type arguments [L,Foo.this.gen.Repr] do not conform to trait Bar's type parameter bounds [In <: shapeless.HList,Out <: shapeless.HList] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment