enable macro paradise to expand macro annotations

孤人 提交于 2021-02-19 06:42:38

问题


I wanted to check some examples with annotations in macro paradise and I am getting the error, as is specified in: this example

I have related the projects, the other scala macros (not with annotations) are working very well. I have included the library paradise_2.11.6-2.1.0-M5 (in both projects also :( ). I think, I do not get what means with *to enable*. !? bthw, I am using Scala IDE in Eclipse.


回答1:


By enable, I meant adding it as a compiler plugin, as e.g. in https://github.com/scalamacros/sbt-example-paradise/blob/17f4a0d421ad7002334c7081d3ec79cc9edb4f24/project/Build.scala#L14



来源:https://stackoverflow.com/questions/29282475/enable-macro-paradise-to-expand-macro-annotations

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!