I tried to implement scala-meta inline / meta
style macro annotation in a scala-maven project. I'm getting following error in the compilation.
[ERROR] /home/tiran/.../validatable.scala:12: ';' expected but 'def' found.
[ERROR] inline def apply(defn: Any): Any = meta {
[ERROR] ^
Do we need additional compiler plugin for scala meta to work or, am I missing something here? By the way scalameta
dependency is the only dependency i have added. My scala version is 2.11