Skip to content

A let property cannot be reassigned after all fields have been initialized #391

@mneumann

Description

@mneumann
:struct A
  :let field U8: 5

  :new (@field)

I'd assume that it is possible assign a value to a let field in a constructor and if not, the :let declarators default value is taken.

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