You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While this shouldn't crash, note that the real issue here is not caused by the compiler, in the compiler output before the crash I see:
***** missing reference, looking for Aliases/T in package scala.reflect.macros
This problem goes away if I add scala-reflect to the classpath. It seems that shapeless does not explicitly depend on scala-reflect even though it has methods whose signatures refer to types defined in scala-reflect. Maybe this works in Scala 2 by chance because scala-reflect is always on the classpath.
Yeah, shapeless says that scala-reflect is "provided". I forget what that implies in terms of the compilation classpath. So either also a build error by shapeless or a build tool bug.
Compiler version
Minimized code
build.sbt
Main.scala
Output (click arrow to expand)
The text was updated successfully, but these errors were encountered: