File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ struct
145145end
146146
147147(* HAS SIDE-EFFECTS ---- PLEASE INSTANCIATE ONLY ONCE!!! *)
148- module HConsed (Base : S ) ( Arg : sig val assume_idempotent: bool end ) =
148+ module HConsed (Arg : sig val assume_idempotent: bool end ) ( Base : S ) =
149149struct
150150 include Printable. HConsed (Base )
151151
Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ module HConsed (M: S) : S with
263263 type key = M .key and
264264 type value = M .value =
265265struct
266- include Lattice. HConsed (M ) ( struct let assume_idempotent = false end )
266+ include Lattice. HConsed (struct let assume_idempotent = false end ) ( M )
267267
268268 type key = M .key
269269 type value = M .value
Original file line number Diff line number Diff line change @@ -101,16 +101,16 @@ struct
101101end
102102
103103(* * Lifts a [Spec] so that the domain is [Hashcons]d *)
104- module HashconsLifter (S : Spec ) =
104+ module HashconsLifter (S : Spec ) = (* keep functor eta-expanded to look up option when lifter is actually used *)
105105struct
106106 module HConsedArg =
107107 struct
108108 (* We do refine int values on narrow and meet {!IntDomain.IntDomTupleImpl}, which can lead to fixpoint issues if we assume x op x = x *)
109109 (* see https://github.com/goblint/analyzer/issues/1005 *)
110110 let assume_idempotent = GobConfig. get_string " ana.int.refinement" = " never"
111111 end
112- module F ( L : Lattice.S ) = Lattice. HConsed ( L ) ( HConsedArg )
113- include DomainLifter (F ) (S )
112+
113+ include DomainLifter (Lattice. HConsed ( HConsedArg ) ) (S )
114114end
115115
116116module type PrintableLifter =
You can’t perform that action at this time.
0 commit comments