diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/partest/scala/tools/partest/package.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/partest/scala/tools/partest/package.scala b/src/partest/scala/tools/partest/package.scala index 49d3ed301c..16a95c8966 100644 --- a/src/partest/scala/tools/partest/package.scala +++ b/src/partest/scala/tools/partest/package.scala @@ -91,7 +91,7 @@ package object partest { def trace[A](a: A) = macro traceImpl[A] import scala.reflect.macros.Context - def traceImpl[A: c.AbsTypeTag](c: Context)(a: c.Expr[A]): c.Expr[A] = { + def traceImpl[A: c.WeakTypeTag](c: Context)(a: c.Expr[A]): c.Expr[A] = { import c.universe._ val exprCode = c.literal(show(a.tree)) val exprType = c.literal(show(a.actualType)) |