Skip to content

Poor wording on enum page #1473

Open
Open
@Velumuthali

Description

@Velumuthali

Enumerations
"An enum where no constructors contain fields are called a field-less enum."

  1. grammar: are called may be changed to is called.
  2. possibly misleading:
    "where no constructors" . The plural 'constructors' suggests that more than one constructor is allowed.
    My idea:
    If an enum constructor contains no fields, the enum is called a field-less enum.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Language CleanupImprovements to existing language which is correct but not clear, or missing examples, or the like.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions