Skip to content

Spec §3.8 rules plain calls always legal; the checker still demands explicit move at consuming positions #714

Closed

Description

@ehartford

docs/with-specification.md §3.8:

"No call-site annotation is ever required for either mode — a plain call
f(x) is always legal and means whatever the signature says. move x,
copy x, and &x remain available as explicit spellings of intent."

The implementation still emits, at every plain non-Copy argument to an owned
parameter (Sema.w finalize_call_site_ownership, and the container-store twin
in SemaCheck.w check_method_call):

error: this parameter takes ownership of a non-Copy value (it is consumed
or escapes the call); pass `move x` to transfer ownership, or `copy x`
for an independent copy (§3.8)

Per "the spec leads," the implementation is non-conforming: a plain call must
consume implicitly (with ordinary use-after-move errors if the binding is
used later). Activating this invalidates the mandatory-move direction of the
78-site #691 migration (explicit move stays legal as a spelling of intent).

Blast radius: the move checker's demand sites, the :move-audit expectations,
and any diagnostics that assume plain-call-is-borrow. Own batch per D19
isolation. Found while greening the behavior lane (issue61/issue66 test libs
currently carry explicit move spellings, which remain spec-legal).

Activity

  1. ehartford commented on Jul 26, 2026

    @ehartford
    ContributorAuthor

    Escalation: the native-spec-tests lane (first executed this session once the earlier lanes went green) shows the mandatory-move demand now REJECTS THE SPEC'S OWN BLESSED EXAMPLES:

    • test/spec/spec_ss14_11_await_combinator_cancel_joins.w and spec_ss14_11_collection_await.w — via <embedded-std>/std/task.w:54
    • test/spec/spec_ss14_15_channel_generic_payloads.w:24 and spec_ss14_22_task_ephemerality.w:12 — in the fixture text itself

    All four pass under the pre-batch seed. Per "the spec leads the implementation," these fixtures must NOT be migrated with move spellings the way ordinary behavior tests were — a spec test failing IS the non-compliance signal working. This moves #714 from "queued for its own batch" to "blocks spec conformance": either the checker's demand is relaxed per §3.8 ("a plain call is always legal"), or Eric rules the spec text changes. Awaiting the ruling; the four fixtures stay red as evidence in the meantime.

  2. ehartford commented on Aug 31, 2026

    @ehartford
    ContributorAuthor

    Triage 2026-08-31: CLOSE (overcome by events). D25 ("D5's supersession is implemented: the classifier is gone") + 55e3e5d "Sema: retire the D5 mandatory call-site move demand (#714)" — a plain take(xs) with a non-Copy Vec compiles and runs on the current compiler.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions