summaryrefslogtreecommitdiff
path: root/test/files/neg/t5689.check
blob: f286d08cfa35953aa0b16b9796a0819ecc923490 (plain) (blame)
1
2
3
4
5
6
7
t5689.scala:4: error: macro implementation has wrong shape:
 required: (c: scala.reflect.makro.Context)(i: c.Expr[Double]): c.Expr[String]
 found   : (c: scala.reflect.makro.Context)(i: c.Expr[Double]): c.Expr[Int]
type mismatch for return type : c.Expr[String] does not conform to c.Expr[Int]
  def returnsString(i: Double): String = macro returnsIntImpl
                                               ^
one error found