From 5611cbf7f33fb0c88a26a6689681ee915a901bb7 Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Wed, 14 Apr 2021 14:57:03 -0400 Subject: [PATCH] fix(sexp): re-export the `loc` type to the functor's argument's type --- src/core/CCSexp.mli | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/core/CCSexp.mli b/src/core/CCSexp.mli index f64ee15d..6e1f6ed1 100644 --- a/src/core/CCSexp.mli +++ b/src/core/CCSexp.mli @@ -23,8 +23,11 @@ module type S = CCSexp_intf.S This builds a parser and printer for S-expressions represented as in the [Sexp] argument. - @since 2.7 *) -module Make(Sexp : SEXP) : S with type t = Sexp.t + @since 2.7 + + @since NEXT_RELEASE re-bind [loc] to [Sexp.loc] +*) +module Make(Sexp : SEXP) : S with type t = Sexp.t and type loc = Sexp.loc (** {2 Basics} *)