summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-invalidsig-implicit-params.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-09-20 14:07:01 -0700
committerPaul Phillips <paulp@improving.org>2012-09-20 14:07:01 -0700
commitcc6f5f97f8a4290391a69ac96f134cb3e8ed4381 (patch)
treef2aa4f428719b7a8c8afd9959161f43b26a2c06d /test/files/neg/macro-invalidsig-implicit-params.check
parentc8e6f8e64c4d9967cee41486cc2e324da0262976 (diff)
parent08de8afde6c99fb1739eb9730e6fce4eef54f296 (diff)
downloadscala-cc6f5f97f8a4290391a69ac96f134cb3e8ed4381.tar.gz
scala-cc6f5f97f8a4290391a69ac96f134cb3e8ed4381.tar.bz2
scala-cc6f5f97f8a4290391a69ac96f134cb3e8ed4381.zip
Merge remote-tracking branch 'paulp/topic/gitattributes' into 2.10.x
Diffstat (limited to 'test/files/neg/macro-invalidsig-implicit-params.check')
-rw-r--r--test/files/neg/macro-invalidsig-implicit-params.check14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/files/neg/macro-invalidsig-implicit-params.check b/test/files/neg/macro-invalidsig-implicit-params.check
index ca35e62cd7..f210eb8a32 100644
--- a/test/files/neg/macro-invalidsig-implicit-params.check
+++ b/test/files/neg/macro-invalidsig-implicit-params.check
@@ -1,7 +1,7 @@
-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
- def foo_targs[U](x: Int) = macro Impls.foo_targs[T, U]
- ^
-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 WeakTypeTag evidences
+ def foo_targs[U](x: Int) = macro Impls.foo_targs[T, U]
+ ^
+one error found