Skip to content

Syntax error when using private in module constraint #6837

Closed
@glennsl

Description

@glennsl

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions