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
@benhutchison said:
I just tested 2.11.0-M1 and 2.11.0-SNAPSHOT (Jan 17) and saw crashes in both.
On 2.11.0-M1 only, I saw this message:
[error] C:\Users\ben\workspace\bug_example\src\main\scala\cycad\BugExample.scala:33: diverging implicit expansion for ty
pe shapeless.Prod[shapeless.Nat._1,shapeless.Nat._3]
[error] starting with method prod in object Prod
[error] val m1x3 = matrix[Int, _1, _3].fromRowMajor(Sized[Array](1, 2, 3))
However, commenting out that line alone caused the crash to re-occur, presumably from the previous line.
Compiler crashes during compilation:
java.lang.RuntimeException: scala.Array.apply : Object, Object, Any
at scala.sys.package$.error(package.scala:27)...
Please see attached SBT project which reproduces the issue. (it has a library dependency on Shapeless)
The text was updated successfully, but these errors were encountered: