summaryrefslogblamecommitdiff
path: root/test/files/neg/t6123-explaintypes-macros.check
blob: 9a0402039bd8d4ee8ddb46cbf4d9f2e18b72884a (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                              


                                                                                                                   



                                                                                    
c.universe.Expr[Any]* <: c.universe.Expr[String]*?
false
BadMac_2.scala:6: error: macro implementation has wrong shape:
 required: (c: scala.reflect.macros.BlackboxContext)(format: c.Expr[String], params: c.Expr[Any]*): c.Expr[Unit]
 or      : (c: scala.reflect.macros.BlackboxContext)(format: c.Tree, params: Tree*): c.Tree
 found   : (c: scala.reflect.macros.BlackboxContext)(format: c.Expr[String], params: c.Expr[String]*): c.Expr[Unit]
type mismatch for parameter params: c.Expr[Any]* does not conform to c.Expr[String]*
  def printf(format: String, params: Any*): Unit = macro printf_impl
      ^
one error found