rescript-compiler icon indicating copy to clipboard operation
rescript-compiler copied to clipboard

Syntax error when using private in module constraint

Open glennsl opened this issue 1 year ago • 0 comments

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.

glennsl avatar Jun 28 '24 13:06 glennsl