Skip to content

Instantly share code, notes, and snippets.

@amazari
Created March 13, 2013 14:47
Show Gist options
  • Save amazari/5152823 to your computer and use it in GitHub Desktop.
Save amazari/5152823 to your computer and use it in GitHub Desktop.
import scala.reflect.runtime.universe._
import scala.reflect._
object testtypetag {
class ReqTT[T : TypeTag]
case class Dummy
new ReqTT[Dummy] // Compiler : No TypeTag available for Dummy, thus no implicit evidence
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment