summaryrefslogtreecommitdiff
path: root/test/files/neg/t5689.check
blob: 7d4f7fb63aa79f23377128fbc6d525e67112d3a7 (plain) (blame)
1
2
3
4
5
6
7
8
t5689.scala:4: error: macro implementation has incompatible shape:
 required: (c: scala.reflect.macros.blackbox.Context)(i: c.Expr[Double]): c.Expr[String]
 or      : (c: scala.reflect.macros.blackbox.Context)(i: c.Tree): c.Tree
 found   : (c: scala.reflect.macros.blackbox.Context)(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