diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2013-11-13 15:49:53 -0800 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2013-11-13 15:49:53 -0800 |
commit | 96df73d994097e3318d003ddef00194b711289a3 (patch) | |
tree | f01e3bcb4044a427191ba095122726e9bfb5f9b0 /test/files/neg/macro-invalidsig-params-badtype.check | |
parent | 946b76ad8b31b1fd74e2f8e1972c4a9159ac690a (diff) | |
parent | f83296552aa80faf8a9350131c0448bc05b34c96 (diff) | |
download | scala-96df73d994097e3318d003ddef00194b711289a3.tar.gz scala-96df73d994097e3318d003ddef00194b711289a3.tar.bz2 scala-96df73d994097e3318d003ddef00194b711289a3.zip |
Merge pull request #3129 from adriaanm/pr-rebase-3001
[rebase] blackbox and whitebox macros
Diffstat (limited to 'test/files/neg/macro-invalidsig-params-badtype.check')
-rw-r--r-- | test/files/neg/macro-invalidsig-params-badtype.check | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/neg/macro-invalidsig-params-badtype.check b/test/files/neg/macro-invalidsig-params-badtype.check index 86aa08291f..e0cd63fbe4 100644 --- a/test/files/neg/macro-invalidsig-params-badtype.check +++ b/test/files/neg/macro-invalidsig-params-badtype.check @@ -1,7 +1,7 @@ Impls_Macros_1.scala:8: error: macro implementation has wrong shape: - required: (c: scala.reflect.macros.Context)(x: c.Expr[Int]): c.Expr[Any] - or : (c: scala.reflect.macros.Context)(x: c.Tree): c.Tree - found : (c: scala.reflect.macros.Context)(x: Int): Nothing + required: (c: scala.reflect.macros.BlackboxContext)(x: c.Expr[Int]): c.Expr[Any] + or : (c: scala.reflect.macros.BlackboxContext)(x: c.Tree): c.Tree + found : (c: scala.reflect.macros.BlackboxContext)(x: Int): Nothing type mismatch for parameter x: c.Expr[Int] does not conform to Int def foo(x: Int) = macro Impls.foo ^ |