diff options
author | Som Snytt <som.snytt@gmail.com> | 2013-07-24 21:07:54 -0700 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2013-07-27 05:24:20 -0700 |
commit | b041fdc9cc372cfa9bed17f939747174b8b39542 (patch) | |
tree | a25ab4ea055168a48b9fab565c785f4fdc56d490 /test/files/pos | |
parent | 56b7c0f8fa6c1037905867aec88520476dbd3baa (diff) | |
download | scala-b041fdc9cc372cfa9bed17f939747174b8b39542.tar.gz scala-b041fdc9cc372cfa9bed17f939747174b8b39542.tar.bz2 scala-b041fdc9cc372cfa9bed17f939747174b8b39542.zip |
SI-7695 Macro debug output on -explaintypes
It looks like checkConforms should wait for error before
using explainTypes, rather than turning on macro debug
trace if explaintypes is set.
In particular, macro debug output is Console.println
instead of reporter.echo or similar, so partest can't
test it.
Diffstat (limited to 'test/files/pos')
-rw-r--r-- | test/files/pos/t6123-explaintypes-macros.flags | 1 | ||||
-rw-r--r-- | test/files/pos/t6123-explaintypes-macros.scala | 7 |
2 files changed, 0 insertions, 8 deletions
diff --git a/test/files/pos/t6123-explaintypes-macros.flags b/test/files/pos/t6123-explaintypes-macros.flags deleted file mode 100644 index b36707c7cf..0000000000 --- a/test/files/pos/t6123-explaintypes-macros.flags +++ /dev/null @@ -1 +0,0 @@ --explaintypes diff --git a/test/files/pos/t6123-explaintypes-macros.scala b/test/files/pos/t6123-explaintypes-macros.scala deleted file mode 100644 index e650ad2038..0000000000 --- a/test/files/pos/t6123-explaintypes-macros.scala +++ /dev/null @@ -1,7 +0,0 @@ -import scala.language.experimental.macros -import scala.reflect.macros.Context - -object Macros { - def printf(format: String, params: Any*): Unit = macro printf_impl - def printf_impl(c: Context)(format: c.Expr[String], params: c.Expr[Any]*): c.Expr[Unit] = ??? -} |