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
Any Mirror for a value alias to a case object will crash when calling the fromProduct method, this is because it tries to access the constructor. (i.e. a singleton mirror is not synthesised, but instead a standard product mirror).
Exception in thread "main" java.lang.IllegalAccessError: tried to access method scala.collection.immutable.Nil$.<init>()V from classApp$package$$anon$1
at App$package$$anon$1.fromProduct(App.scala:4)
at App$package$$anon$1.fromProduct(App.scala:4)
at App$package$.Test(App.scala:4)
at Test.main(App.scala:3)