New style macros ("inline") require scala.meta

I just upgraded to scala meta 2.0.0-M1 and with the latest scala 2.12.3, and now macros no longer compile. The only change I made was to change the meta version from 1.8.0 to 2.0.0-M1.

ERROR: new style macros ("built-in") require scala.meta p>

Does anyone know if there is a little work for this?

I was hoping to start playing with some semantic improvements.

+4
source share
1 answer

scalameta / paradise currently only supports scalameta 1.8.0, not 2.0.0-M1. New enhancements to the semantic api are not available for macros.

scalafix https://scalacenter.imtqy.com/scalafix/#scalacenter/scalafix.g8

+2

Source: https://habr.com/ru/post/1682893/


All Articles