diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2013-12-06 21:32:52 +0100 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2013-12-06 21:32:52 +0100 |
commit | 3faa2eedd8b9f58f29a5aeed710ffb91ec0f860b (patch) | |
tree | 70b91d4326fde0c17a3a561f541edd465eac7224 /test/files/neg/macro-invalidsig-implicit-params.check | |
parent | 7e996c1b05902df0144709a37d9149252885495c (diff) | |
download | scala-3faa2eedd8b9f58f29a5aeed710ffb91ec0f860b.tar.gz scala-3faa2eedd8b9f58f29a5aeed710ffb91ec0f860b.tar.bz2 scala-3faa2eedd8b9f58f29a5aeed710ffb91ec0f860b.zip |
[nomaster] better error messages for various macro definition errors
backport of 1d3ec4e708154ec05554f540d7d68ed55dc12426
Diffstat (limited to 'test/files/neg/macro-invalidsig-implicit-params.check')
-rw-r--r-- | test/files/neg/macro-invalidsig-implicit-params.check | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/files/neg/macro-invalidsig-implicit-params.check b/test/files/neg/macro-invalidsig-implicit-params.check index f210eb8a32..900098fd98 100644 --- a/test/files/neg/macro-invalidsig-implicit-params.check +++ b/test/files/neg/macro-invalidsig-implicit-params.check @@ -1,7 +1,4 @@ -Impls_Macros_1.scala:18: error: macro implementation has wrong shape: - required: (c: scala.reflect.macros.Context)(x: c.Expr[Int]): c.Expr[Unit] - found : (c: scala.reflect.macros.Context)(implicit x: c.Expr[Int]): c.Expr[Unit] -macro implementations cannot have implicit parameters other than WeakTypeTag evidences +Impls_Macros_1.scala:18: error: macro implementations cannot have implicit parameters other than WeakTypeTag evidences def foo_targs[U](x: Int) = macro Impls.foo_targs[T, U] ^ one error found |