summaryrefslogtreecommitdiff
path: root/test/files/neg/t6123-explaintypes-macros.check
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2013-12-03 13:53:25 +0000
committerEugene Burmako <xeno.by@gmail.com>2013-12-03 14:17:44 +0000
commit1d3ec4e708154ec05554f540d7d68ed55dc12426 (patch)
tree5e6d805791d042760ca0c16f0de1b5b5340e47b1 /test/files/neg/t6123-explaintypes-macros.check
parent6ff3c3fd6a238391d0c82599e25731c708bf0e03 (diff)
downloadscala-1d3ec4e708154ec05554f540d7d68ed55dc12426.tar.gz
scala-1d3ec4e708154ec05554f540d7d68ed55dc12426.tar.bz2
scala-1d3ec4e708154ec05554f540d7d68ed55dc12426.zip
better error messages for various macro definition errors
Diffstat (limited to 'test/files/neg/t6123-explaintypes-macros.check')
-rw-r--r--test/files/neg/t6123-explaintypes-macros.check4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/t6123-explaintypes-macros.check b/test/files/neg/t6123-explaintypes-macros.check
index 9a0402039b..ef545fcc32 100644
--- a/test/files/neg/t6123-explaintypes-macros.check
+++ b/test/files/neg/t6123-explaintypes-macros.check
@@ -1,10 +1,10 @@
c.universe.Expr[Any]* <: c.universe.Expr[String]*?
false
-BadMac_2.scala:6: error: macro implementation has wrong shape:
+BadMac_2.scala:6: error: macro implementation has incompatible shape:
required: (c: scala.reflect.macros.BlackboxContext)(format: c.Expr[String], params: c.Expr[Any]*): c.Expr[Unit]
or : (c: scala.reflect.macros.BlackboxContext)(format: c.Tree, params: Tree*): c.Tree
found : (c: scala.reflect.macros.BlackboxContext)(format: c.Expr[String], params: c.Expr[String]*): c.Expr[Unit]
type mismatch for parameter params: c.Expr[Any]* does not conform to c.Expr[String]*
def printf(format: String, params: Any*): Unit = macro printf_impl
- ^
+ ^
one error found