Skip to content

Commit 73b8dd8

Browse files
committed
Add explicit first-class module type for recursive function for OCaml 5.5 compatibility (closes #2006)
1 parent fcf0155 commit 73b8dd8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/framework/control.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ let rec analyze_loop (module CFG : CfgBidirSkip) file fs change_info =
860860
Whoever raised the exception should've modified some global state
861861
to do a more precise analysis next time. *)
862862
(* TODO: do some more incremental refinement and reuse parts of solution *)
863-
analyze_loop (module CFG) file fs change_info
863+
analyze_loop (module CFG: CfgBidirSkip) file fs change_info (* explicit module type needed for OCaml 5.5: https://github.com/goblint/analyzer/issues/2006 *)
864864

865865
(** The main function to perform the selected analyses. *)
866866
let analyze change_info (file: file) fs =

0 commit comments

Comments
 (0)