summaryrefslogtreecommitdiff
path: root/test/files/neg/t6123-explaintypes-macros.check
blob: 2c86f3c9cc28b646c5eb1a7a03e9ab4963a448b9 (plain) (blame)
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 incompatible shape:
 required: (c: scala.reflect.macros.blackbox.Context)(format: c.Expr[String], params: c.Expr[Any]*): c.Expr[Unit]
 or      : (c: scala.reflect.macros.blackbox.Context)(format: c.Tree, params: Tree*): c.Tree
 found   : (c: scala.reflect.macros.blackbox.Context)(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