We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7d09e9 commit 5cc8efeCopy full SHA for 5cc8efe
src/partest-extras/scala/tools/partest/Util.scala
@@ -14,7 +14,9 @@ object Util {
14
* An alternative to [[scala.tools.partest.ReplTest]] that avoids the inconvenience of embedding
15
* test code in a string.
16
*/
17
- def trace[A](a: A) = macro traceImpl[A]
+ // 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]
20
21
import scala.reflect.macros.blackbox.Context
22
def traceImpl[A: c.WeakTypeTag](c: Context)(a: c.Expr[A]): c.Expr[A] = {
@@ -49,4 +51,4 @@ object Util {
49
51
a.tree))))),
50
52
a.tree))
53
}
-}
54
+}
0 commit comments