Skip to content

Function-pointer return types: inert today, and it unblocks the reverted change - #4657

Merged
gHashTag merged 2 commits into
masterfrom
queen-2534
Sep 23, 2026
Merged

gHashTag merged 2 commits into
masterfrom
queen-2534

Conversation

@gHashTag

Copy link
Copy Markdown
Owner

Closes #2534

Written by a bee on queen-2534 and published by tools/queen/publish.py. The branch itself is the bee's; the second commit is the coordination entry every pull request must add, which a bee has no way to know about.

1 file changed, 18 insertions(+), 16 deletions(-)

🤖 Generated with Claude Code

Trinity Bee and others added 2 commits September 23, 2026 16:37
…aFn and JitSimilarityFn

This change refactors the function pointer types to avoid a parser error in `parse_type_annotation` where the function-pointer type was not being read correctly, causing the parser to expect a struct left brace after `?*const ` and finding `fn` instead.

By introducing base types (JitVsaFnBase and JitSimilarityFnBase) for the function pointer types and then defining the pointer types as pointers to these base types, the parser can correctly read the types.

The change is inert: the types are equivalent and the behavior is unchanged.

Closes #2534
A pull request must add exactly one docs/now entry and a bee has no way
to know that: its brief names a boundary file and acceptance criteria,
and docs/now/ is neither. The publisher adds it rather than failing the
gate.

Closes #2534

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@gHashTag
gHashTag enabled auto-merge (squash) September 23, 2026 16:48
@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-09-23 16:49:02 UTC

Summary

Status Count
Total Open PRs 31
PRs with Failing Checks 27
PRs with All Checks Green 4
READY 3
FAILING 27
PENDING 0
NO CHECKS YET 0

These columns do not partition: 3 + 27 + 0 + 0 = 30, and there are 31 open PRs. A PR is being counted twice or not at all.

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=403499176a5d != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

@github-actions

Copy link
Copy Markdown
Contributor

📓 NotebookLM Notebook linked to this PR

This notebook contains session context, decisions, and artifacts for this work.

@gHashTag
gHashTag merged commit 2c9c9d8 into master Sep 23, 2026
23 of 31 checks passed
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.

Function-pointer return types: inert today, and it unblocks the reverted change

2 participants