diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-12-07 00:00:04 -0800 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2013-12-07 00:00:04 -0800 |
commit | f6c68461e16a8bef951f7bca9eaf6ab0249d7fd1 (patch) | |
tree | 70b91d4326fde0c17a3a561f541edd465eac7224 /test/files/neg/macro-invalidsig-context-bounds.check | |
parent | 7e996c1b05902df0144709a37d9149252885495c (diff) | |
parent | 3faa2eedd8b9f58f29a5aeed710ffb91ec0f860b (diff) | |
download | scala-f6c68461e16a8bef951f7bca9eaf6ab0249d7fd1.tar.gz scala-f6c68461e16a8bef951f7bca9eaf6ab0249d7fd1.tar.bz2 scala-f6c68461e16a8bef951f7bca9eaf6ab0249d7fd1.zip |
Merge pull request #3232 from xeno-by/topic/macro-error-messages-210x
[nomaster] better error messages for various macro definition errors
Diffstat (limited to 'test/files/neg/macro-invalidsig-context-bounds.check')
-rw-r--r-- | test/files/neg/macro-invalidsig-context-bounds.check | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/files/neg/macro-invalidsig-context-bounds.check b/test/files/neg/macro-invalidsig-context-bounds.check index 43b8c23b35..cbb2b06892 100644 --- a/test/files/neg/macro-invalidsig-context-bounds.check +++ b/test/files/neg/macro-invalidsig-context-bounds.check @@ -1,7 +1,4 @@ -Macros_Test_1.scala:2: error: macro implementation has wrong shape: - required: (c: scala.reflect.macros.Context): c.Expr[Any] - found : (c: scala.reflect.macros.Context)(implicit evidence$2: Numeric[U]): c.universe.Literal -macro implementations cannot have implicit parameters other than WeakTypeTag evidences +Macros_Test_1.scala:2: error: macro implementations cannot have implicit parameters other than WeakTypeTag evidences def foo[U] = macro Impls.foo[U] ^ one error found |