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
You may be running into a problem where, upon upgrading to persistent-2.14, you're seeing a ton of MonadFail constraints arise due to pattern matching on Enttiy in a bind arrow.
foo =doEntity userId user <- getBy $UserEmail"foo@bar.com"...
You may be running into a problem where, upon upgrading to
persistent-2.14
, you're seeing a ton ofMonadFail
constraints arise due to pattern matching onEnttiy
in a bind arrow.This is a bug in GHC, where the
COMPLETE
pragma for aPatternSynonym
is not taken into account indo
notation. Here's the GHC issue: https://gitlab.haskell.org/ghc/ghc/-/issues/15681The text was updated successfully, but these errors were encountered: