summaryrefslogblamecommitdiff
path: root/test/files/neg/macro-invalidsig-params-namemismatch.check
blob: f2639d9350a5f292d63edce368b1570ef2ad9c78 (plain) (tree)
1
2
3
4
5
6
7
8



                                                                                          
                               


                                            
Impls_Macros_1.scala:8: error: macro implementation has wrong shape:
 required: (c: scala.reflect.macros.Context)(x: c.Expr[Int], y: c.Expr[Int]): c.Expr[Any]
 found   : (c: scala.reflect.macros.Context)(y: c.Expr[Int], x: c.Expr[Int]): Nothing
parameter names differ: x != y
parameter names differ: y != x
  def foo(x: Int, y: Int) = macro Impls.foo
                                        ^
one error found