This doesn't work - is there any way I can keep my code generified and somehow reflect the classOf a ClassTag??
class Foo[T : reflect.ClassTag] { def foo = classOf[T] }
<console>:7: error: class type required but T found
class Foo[T : reflect.ClassTag] { def foo = classOf[T] }
It seems this should work but alas :(