StackOverflowError during compile when using shapeless macros
avitaln opened this issue · comments
Avital Nahon commented
The issue happens in scala 2.12.6. it was fine in scala 2.12.4
JDK version is 1.8.0_181
demonstration of the bug:
git clone git@github.com:avitaln/test-boopickle-shapeless.git
sbt compile
Avital Nahon commented
it also happens when using shapeless which was built with scala 2.12.6:
resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
libraryDependencies += "com.chuusai" %% "shapeless" % "2.4.0-SNAPSHOT"
Avital Nahon commented
found the problem. bigger stack needed
added .sbtopts file with -J-Xss8m
closing...