Skip to content

Instantly share code, notes, and snippets.

@xeno-by
Created May 6, 2012 19:05
Show Gist options
  • Save xeno-by/2623866 to your computer and use it in GitHub Desktop.
Save xeno-by/2623866 to your computer and use it in GitHub Desktop.
trait StuffBase {
type Foo
implicit val FooTag: ClassManifest[Foo]
}
object Stuff extends StuffBase {
class Foo
implicit val FooTag = classManifest[Foo]
}
object Test extends App {
println(Stuff.FooTag)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment