summaryrefslogtreecommitdiff
path: root/src/compiler/scala/reflect/makro/runtime/TypeTags.scala
blob: a8e67da56a466175c59e78021d7365a52e3fa233 (plain) (blame)
1
2
3
4
5
6
7
8
9
package scala.reflect.makro
package runtime

trait TypeTags {
  self: Context =>

  def TypeTag[T](tpe: Type): TypeTag[T] = mirror.TypeTag[T](mirror.rootMirror, mirror.FixedMirrorTypeCreator(mirror.rootMirror, tpe))
  def ConcreteTypeTag[T](tpe: Type): ConcreteTypeTag[T] = mirror.ConcreteTypeTag[T](mirror.rootMirror, mirror.FixedMirrorTypeCreator(mirror.rootMirror, tpe))
}