Skip to content

atdgen: allow empty records  #400

@kopecs

Description

@kopecs

It would be useful if empty records, as in

type t = {}

were accepted by atdgen and represented in OCaml as unit. One use case for this is when the record will, in the future, have fields added, but no fields are yet present. Given this is accepted by, e.g., atdpy, it would be useful if it were also accepted by other targets for uniformity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions