Skip to content

Instantly share code, notes, and snippets.

@xeno-by
Created July 22, 2013 15:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xeno-by/6054650 to your computer and use it in GitHub Desktop.
Save xeno-by/6054650 to your computer and use it in GitHub Desktop.
scala> class Foo[B[_], T]
defined class Foo
scala> def test[B[_]](implicit tt: TypeTag[B[_]]) = typeOf[Foo[B, _]]
<console>:30: error: No TypeTag available for Foo[B, _]
def test[B[_]](implicit tt: TypeTag[B[_]]) = typeOf[Foo[B, _]]
^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment