Skip to content

Commit cc39ddd

Browse files
committed
Use Conf in Printable.LiftConf
1 parent dceb4be commit cc39ddd

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/analyses/mCPRegistry.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ end
426426

427427
module DomVariantLattice (DLSpec : DomainListLatticeSpec) =
428428
struct
429-
include Lattice.Lift (DomVariantLattice0 (DLSpec))
429+
include Lattice.LiftConf (struct include Printable.DefaultConf let expand1 = false end) (DomVariantLattice0 (DLSpec))
430430
let name () = "MCP.G"
431431
end
432432

src/common/domains/printable.ml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,10 @@ end
237237

238238
module LiftConf (Conf: LiftConf) (Base: S) =
239239
struct
240+
open struct
241+
module Base = PrefixName (struct let expand = Conf.expand1 end) (Base)
242+
end
243+
240244
type t = [`Bot | `Lifted of Base.t | `Top] [@@deriving eq, ord, hash]
241245
include Std
242246
open Conf

0 commit comments

Comments
 (0)