hax icon indicating copy to clipboard operation
hax copied to clipboard

Monadic transformation is broken

Open W95Psp opened this issue 1 year ago • 1 comments

* 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

W95Psp avatar Aug 05 '24 10:08 W95Psp

Most cases should be covered by what's doing in #393. Let's assess if this is still needed when that's done.

franziskuskiefer avatar Oct 10 '24 11:10 franziskuskiefer

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.

github-actions[bot] avatar Dec 14 '24 02:12 github-actions[bot]

We still need this phase: rewrite control flow introduces too many deduplication in certain case.

W95Psp avatar Dec 16 '24 07:12 W95Psp