Skip to content

Commit 5cc8efe

Browse files
committed
TODO: disabled macro in partest extras
1 parent a7d09e9 commit 5cc8efe

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/partest-extras/scala/tools/partest/Util.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ object Util {
1414
* An alternative to [[scala.tools.partest.ReplTest]] that avoids the inconvenience of embedding
1515
* test code in a string.
1616
*/
17-
def trace[A](a: A) = macro traceImpl[A]
17+
// TODO diagnose the compile error and reenable this
18+
// error: macro implementation has incompatible shape
19+
def trace[A](a: A): A = ??? //macro traceImpl[A]
1820

1921
import scala.reflect.macros.blackbox.Context
2022
def traceImpl[A: c.WeakTypeTag](c: Context)(a: c.Expr[A]): c.Expr[A] = {
@@ -49,4 +51,4 @@ object Util {
4951
a.tree))))),
5052
a.tree))
5153
}
52-
}
54+
}

0 commit comments

Comments
 (0)