summaryrefslogtreecommitdiff
path: root/src/compiler/scala/reflect/macros/runtime/Exprs.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/scala/reflect/macros/runtime/Exprs.scala')
-rw-r--r--src/compiler/scala/reflect/macros/runtime/Exprs.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/compiler/scala/reflect/macros/runtime/Exprs.scala b/src/compiler/scala/reflect/macros/runtime/Exprs.scala
new file mode 100644
index 0000000000..4217a6a404
--- /dev/null
+++ b/src/compiler/scala/reflect/macros/runtime/Exprs.scala
@@ -0,0 +1,8 @@
+package scala.reflect.macros
+package runtime
+
+trait Exprs {
+ self: Context =>
+
+ def Expr[T: AbsTypeTag](tree: Tree): Expr[T] = universe.Expr[T](mirror, universe.FixedMirrorTreeCreator(mirror, tree))
+}