Skip to content

D184 follow-up: a helper that captures an ephemeral script binding is non-escaping — a spawn or a value use of it must be refused #2984

Closed

Description

@ehartford

D184 (§29.15): "a helper that captures an ephemeral binding is non-escaping, so it cannot be spawned, stored or returned." The capture PR records such helpers (script_nonescaping_helpers) but refuses nothing yet: a helper that captures let view = &xs can today be referenced as a value, spawned as a task or stored. Done when a value use, a spawn and a store of such a helper are errors naming the captured view, with a fixture for each (err_d184_view_capture_escapes_*.w), and docs/spec/conformance.tsv's D184 row names them.

Activity

  1. added
    spec-gap
    on Nov 2, 2026
  2. added a commit that references this issue on Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    spec-gap

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions