We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
object MyMacro { import scala.language.experimental.macros trait NestedType def myMacro(t: NestedType): Unit = macro myMacro_imp def myMacro_imp(c: scala.reflect.macros.whitebox.Context)(t: c.Expr[NestedType]): c.Expr[Unit] = c.universe.reify(()) }
Main.scala:692: macro implementation has incompatible shape: required: (c: scala.reflect.macros.whitebox.Context)(t: c.Expr[c.prefix.value.NestedType]): c.Expr[Unit] or : (c: scala.reflect.macros.whitebox.Context)(t: c.Tree): c.Tree found : (c: scala.reflect.macros.whitebox.Context)(t: c.Expr[cmd19.MyMacro.NestedType]): c.Expr[Unit] type mismatch for parameter t: c.Expr[c.prefix.value.NestedType] does not conform to c.Expr[cmd19.MyMacro.NestedType] def myMacro(t: NestedType): Unit = macro myMacro_imp ^
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-9811?orig=1 Reporter: @Atry Affected Versions: 2.11.8
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: