hax
hax copied to clipboard
Monadic transformation is broken
* Error 54 at Sandwich.Tunnel.Tls.fsti(383,22-397,94):
- Core.Ops.Control_flow.t_ControlFlow (Core.Result.t_Result Prims.unit Sandwich.Error.t_Error)
(Prims.bool & Prims.bool) is not a subtype of the expected type Prims.bool & Prims.bool
1 error was reported (see above)
Action item:
- [ ] throw an error instead of trying to transform, with hints to how to rewrite
- [ ] fix the transformation
Most cases should be covered by what's doing in #393. Let's assess if this is still needed when that's done.
This issue has been marked as stale due to a lack of activity for 60 days. If you believe this issue is still relevant, please provide an update or comment to keep it open. Otherwise, it will be closed in 7 days.
We still need this phase: rewrite control flow introduces too many deduplication in certain case.