summaryrefslogblamecommitdiff
path: root/test/files/neg/t5689.check
blob: 3b25dd612e53af37ada4ca9483585de42f38371c (plain) (tree)
1
2
3
4
5
6
7
                                                            

                                                                                
                                                                              


                                                              
t5689.scala:4: error: macro implementation has wrong shape:
 required: (c: scala.reflect.macros.Context)(i: c.Expr[Double]): c.Expr[String]
 found   : (c: scala.reflect.macros.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