Skip to content

Commit 7b956da

Browse files
committed
Add sharing constraints to lib/lin.{ml,mli}
1 parent f3872fe commit 7b956da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/lin.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ module type Spec = sig
327327
val api : (int * t elem) list
328328
end
329329

330-
module MakeCmd (ApiSpec : Spec) : Internal.CmdSpec = struct
330+
module MakeCmd (ApiSpec : Spec) : Internal.CmdSpec with type t = ApiSpec.t = struct
331331

332332
type t = ApiSpec.t
333333

lib/lin.mli

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

331331
(** {1 Generating a linearization testing module from an API} *)
332332

333-
module MakeCmd (Spec : Spec) : Internal.CmdSpec [@alert "-internal"]
333+
module MakeCmd (Spec : Spec) : Internal.CmdSpec with type t = Spec.t [@alert "-internal"]
334334
(** Functor to map a combinator-based module signature description
335335
into a raw {!Lin} description.
336336
This functor is exposed for internal uses only, its API may change

0 commit comments

Comments
 (0)