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)
Expectation
I expect to see List() printed
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
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).Compiler version
3.0.0 - 3.1.2
Minimized code
Output
Expectation
I expect to see
List()
printedThe text was updated successfully, but these errors were encountered: