Open
Description
While adding scala.js support, I was forced to remove the src/main/scala_2.10
and src/main/scala_2.11
directories. Previously we used:
unmanagedSourceDirectories in Compile +=
(sourceDirectory in Compile).value / s"scala_${scalaBinaryVersion.value}"
This didn't work with scala.js, so I was forced to write macros that worked in both 2.10 and 2.11. However, this makes the macros under 2.11 slightly less powerful.
Old code (more powerful):
def summon[Ev](c: Context)(ev: c.Tree): c.Tree = ev
New code (2.10 compatible):
def summon[Ev](c: Context)(ev: c.Expr[Ev]): c.Expr[Ev] = ev
Metadata
Metadata
Assignees
Labels
No labels