summaryrefslogtreecommitdiff
path: root/test/files/neg/t5689.check
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2013-12-03 13:53:25 +0000
committerEugene Burmako <xeno.by@gmail.com>2013-12-03 14:17:44 +0000
commit1d3ec4e708154ec05554f540d7d68ed55dc12426 (patch)
tree5e6d805791d042760ca0c16f0de1b5b5340e47b1 /test/files/neg/t5689.check
parent6ff3c3fd6a238391d0c82599e25731c708bf0e03 (diff)
downloadscala-1d3ec4e708154ec05554f540d7d68ed55dc12426.tar.gz
scala-1d3ec4e708154ec05554f540d7d68ed55dc12426.tar.bz2
scala-1d3ec4e708154ec05554f540d7d68ed55dc12426.zip
better error messages for various macro definition errors
Diffstat (limited to 'test/files/neg/t5689.check')
-rw-r--r--test/files/neg/t5689.check4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/t5689.check b/test/files/neg/t5689.check
index e74de40280..9271f709ca 100644
--- a/test/files/neg/t5689.check
+++ b/test/files/neg/t5689.check
@@ -1,8 +1,8 @@
-t5689.scala:4: error: macro implementation has wrong shape:
+t5689.scala:4: error: macro implementation has incompatible shape:
required: (c: scala.reflect.macros.BlackboxContext)(i: c.Expr[Double]): c.Expr[String]
or : (c: scala.reflect.macros.BlackboxContext)(i: c.Tree): c.Tree
found : (c: scala.reflect.macros.BlackboxContext)(i: c.Expr[Double]): c.Expr[Int]
type mismatch for return type: c.Expr[Int] does not conform to c.Expr[String]
def returnsString(i: Double): String = macro returnsIntImpl
- ^
+ ^
one error found