Skip to content

Syntax error when using private in module constraint #6837

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
glennsl opened this issue Jun 28, 2024 · 1 comment
Closed

Syntax error when using private in module constraint #6837

glennsl opened this issue Jun 28, 2024 · 1 comment
Labels

Comments

@glennsl
Copy link
Contributor

glennsl commented Jun 28, 2024

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.

@cristianoc
Copy link
Collaborator

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants