summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-invalidsig-implicit-params.check
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-08-17 11:50:01 +0200
committerEugene Burmako <xeno.by@gmail.com>2012-08-17 11:57:18 +0200
commitddf27a1e0e4b9eae521651704e74298c33c9af6c (patch)
tree4d1adea4ffa6cd520e71c6997c6a69264acf0291 /test/files/neg/macro-invalidsig-implicit-params.check
parent78f9ef3906c78413ff8835fdad3849bfe5516be2 (diff)
downloadscala-ddf27a1e0e4b9eae521651704e74298c33c9af6c.tar.gz
scala-ddf27a1e0e4b9eae521651704e74298c33c9af6c.tar.bz2
scala-ddf27a1e0e4b9eae521651704e74298c33c9af6c.zip
more cleanup for typedMacroBody
Diffstat (limited to 'test/files/neg/macro-invalidsig-implicit-params.check')
-rw-r--r--test/files/neg/macro-invalidsig-implicit-params.check11
1 files changed, 7 insertions, 4 deletions
diff --git a/test/files/neg/macro-invalidsig-implicit-params.check b/test/files/neg/macro-invalidsig-implicit-params.check
index 98b3167b7a..62156770e4 100644
--- a/test/files/neg/macro-invalidsig-implicit-params.check
+++ b/test/files/neg/macro-invalidsig-implicit-params.check
@@ -1,4 +1,7 @@
-Impls_Macros_1.scala:5: error: macro implementations cannot have implicit parameters other than AbsTypeTag evidences
- def foo_targs[T, U: c.AbsTypeTag](c: Ctx)(implicit x: c.Expr[Int]) = {
- ^
-one error found
+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 AbsTypeTag evidences
+ def foo_targs[U](x: Int) = macro Impls.foo_targs[T, U]
+ ^
+one error found