Skip to content

Should records have constructors having parameters with default value? #3164

Closed as not planned
@Cat-sushi

Description

@Cat-sushi

The comment of #2364 shows examples of primary constructors having parameters with default values.

I think constructors of records are primary constructors, essentially, but they don't have them.
Are there any good reasons why constructors of records don't have parameters with default value?

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureProposed language feature that solves one or more problems

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions