Open pepeiborra opened 3 years ago
Exception: conPatHelper RecCon CallStack (from HasCallStack): error, called at ./Retrie/Expr.hs:237:20 in retrie-1.0.0.0-Gxsbd0BXDFHOYPsFCFbpR:Retrie.Expr
https://github.com/facebookincubator/retrie/blob/543907ea028ce82455d2cbd63ebe72d34b7b4940/Retrie/Expr.hs#L238
We should look into doing something else here, like just returning the original expression, rather than crashing
This is thrown within patToExpr, so we don't have an expression to return. The only thing we can really do is abort mission.
patToExpr
We should fix it though. Have a repro?
https://github.com/facebookincubator/retrie/blob/543907ea028ce82455d2cbd63ebe72d34b7b4940/Retrie/Expr.hs#L238
We should look into doing something else here, like just returning the original expression, rather than crashing