Skip to content

Commit dd482fe

Browse files
committed
Add private constructors to GADT indices types
1 parent 19d8828 commit dd482fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gramlib/grammar.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ exception ParseError of string
1212

1313
(* Functorial interface *)
1414

15-
type norec
16-
type mayrec
15+
type norec = private [ `norec ]
16+
type mayrec = private [ `mayrec ]
1717

1818
module type S = sig
1919
type keyword_state

0 commit comments

Comments
 (0)