Skip to content

Commit

Permalink
Fix monadic lifter to preserve err type
Browse files Browse the repository at this point in the history
Signed-off-by: Sacha Ayoun <[email protected]>
  • Loading branch information
giltho committed Mar 31, 2024
1 parent adb44df commit 5ab38ac
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion GillianCore/monadic/MonadicSMemory.ml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ end

(* FIXME: Lift should not be necessary, the monad should just match !!! *)
module Lift (MSM : S) :
SMemory.S with type t = MSM.t and type init_data = MSM.init_data = struct
SMemory.S
with type t = MSM.t
and type err_t = MSM.err_t
and type init_data = MSM.init_data = struct
include MSM

let assertions ?to_keep t =
Expand Down

0 comments on commit 5ab38ac

Please sign in to comment.