Skip to content

Two main reds from the merge burst: rt-decl-audit spelling of with_channel_create; rebind fixture's private P under the §18.1 check - #1318

Merged
ehartford merged 1 commit into
mainfrom
fix-rt-decl-audit-and-rebind-fixture
Sep 22, 2026
Merged

ehartford merged 1 commit into
mainfrom
fix-rt-decl-audit-and-rebind-fixture

Conversation

@ehartford

Copy link
Copy Markdown
Contributor

Main's battery has three reds besides the migrate group (#1309): this PR fixes two. rt-decl-audit: with_channel_create (from #1283) spelled its parameter via the alias ChannelDropFn while lib/std/channel.w declares the fn-pointer type inline — the audit compares text; the definition now spells it inline and the alias is private again (#1306's pub was only for the §18.1 check). deep-debug-tool-tests analyze-audit-rebind: its generated fixture had type P private under pub fn P.set(...) -> P; now pub type P. Both targets green under the seed. The third red (examples fizzbuzz) is the print-over-Display PR. Battery chained.

…annel_create, and the rebind fixture's private P under the §18.1 check

rt-decl-audit compares each exported runtime definition's signature text
with its stdlib declaration; #1283's `with_channel_create` spelled its
drop_fn parameter through the alias ChannelDropFn while lib/std/channel.w
declares `*const fn(*mut u8) -> Unit`, so the audit reported one
divergent decl. The definition now spells the type inline (the alias
stays for the runtime's private accessors, private again — #1306 made it
pub only for the §18.1 check, which no longer sees it in a pub signature).

deep-debug-tool-tests' analyze-audit-rebind fixture (build.w) declared
`type P` private and `pub fn P.set(...) -> P`; #1284's §18.1 check rejects
that. The fixture's type is pub.

Under the seed: :rt-decl-audit green, :deep-debug-tool-tests green.
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