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
Exception in thread "zio-fiber-49867414" java.lang.ClassCastException: class my.app.Error cannot be cast to class zio.prelude.ParSeq (my.app.Error and zio.prelude.ParSeq are in unnamed module of loader 'app')
I just upcasted the return type (Left side of Either) into AnyRef and guarded against both kinds of returns at runtime, but this is rather surprising behavior. Probably there's a mistake somewhere, and forgot to wrap the returned E in ParSeq, but instead simply casts it.
We are on 1.0.0-RC36
The text was updated successfully, but these errors were encountered:
Exception in thread "zio-fiber-49867414" java.lang.ClassCastException: class my.app.Error cannot be cast to class zio.prelude.ParSeq (my.app.Error and zio.prelude.ParSeq are in unnamed module of loader 'app')
I just upcasted the return type (Left side of Either) into AnyRef and guarded against both kinds of returns at runtime, but this is rather surprising behavior. Probably there's a mistake somewhere, and forgot to wrap the returned
E
inParSeq
, but instead simply casts it.We are on 1.0.0-RC36
The text was updated successfully, but these errors were encountered: