rescript-compiler
rescript-compiler copied to clipboard
Syntax error when using private in module constraint
This fails with a syntax error:
module M: S with type t = private int
As far as I understand, private int should parse as any other kind of type declaration.