Skip to content

Semantic restrictions of immutable value (let) bindings #5524

@josh11b

Description

@josh11b
  1. Are we comfortable requiring no mutation of objects with a non-copy-value representation and an active let binding?
  2. Do we expect our safety story to enforce this at compile time with our strictly safe dialect?
  3. Are we comfortable making this erroneous behavior when we are unable to or choose not to enforce this requirement at compile time?
  4. Are we comfortable deferring the decision of whether strict enforcement of this property is enabled in our current C++-friendly mode until our safety design is complete?

These questions were prompted by discussions on proposal #5434 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    leads questionA question for the leads team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions