Skip to content

Spec v7.9 (#1832): the type of a variadic C function as a value - #1873

Merged
ehartford merged 1 commit into
mainfrom
spec-1832
Sep 28, 2026
Merged

ehartford merged 1 commit into
mainfrom
spec-1832

Conversation

@ehartford

Copy link
Copy Markdown
Contributor

Eric's approved sentence (2026-09-28) with the corrected notation (fn(A, B, ...) + prose note). Docs only; spec-inventory green.

Eric, 2026-09-28: "(a), sentence approved, notation not" — the literal
variadic token must be visually distinct from a meta-ellipsis, so the
sentence spells `extern "C" fn(A, B, ...) -> R` with a prose note. Calling
through it is raw and its `unsafe` is implied; only an `extern "C"`
function type may end in `...`; variadic and fixed-arity function types
never coerce. Implemented on stack #1871 (#1870).
@ehartford
ehartford merged commit 9ee1234 into main Sep 28, 2026
@ehartford
ehartford deleted the spec-1832 branch September 28, 2026 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant