summaryrefslogblamecommitdiff
path: root/test/files/pos/classtag-pos.scala
blob: 768d2e27f4efaf33744945f2d6e2322d524a5e92 (plain) (tree)
1
2
3
4
5




                                                                          
import scala.reflect.runtime.universe._

class A {
  def f[T: TypeTag] = typeOf[T] match { case TypeRef(_, _, args) => args }
}