Skip to content

phase1/03: function prototype then definition - #88

Merged
rieske merged 3 commits into
masterfrom
phase1/03-forward-decl
Jul 27, 2026
Merged

phase1/03: function prototype then definition#88
rieske merged 3 commits into
masterfrom
phase1/03-forward-decl

Conversation

@rieske

@rieske rieske commented Jul 27, 2026

Copy link
Copy Markdown
Owner

Summary

  • Function prototype then definition (Phase 1.3).
  • Round-1 forward-decl review fixes.

Stack

Base: phase1/02-unions → this PR → phase1/04-anonymous-members

Test plan

  • Prototype + definition path tests pass
  • No regressions on prior phase1 layers

rieske added 2 commits July 27, 2026 17:29
- Track defined functions separately from prototypes.
- functionTypesCompatible for redeclaration/definition checks.
- updateFunction refines prototype entries at definition.
- ForwardDeclTest: forward decl, mutual recursion, unsigned/int mix,
  incomplete struct tag completion.
- functionDefined as set; mark inserts name.
- Negative functional pins for incompatible prototype and duplicate def.
@mergify

mergify Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@coveralls

coveralls commented Jul 27, 2026

Copy link
Copy Markdown

Coverage Status

coverage: 92.405% (+0.4%) from 92.043% — phase1/03-forward-decl into master

Base automatically changed from phase1/02-unions to master July 27, 2026 16:31
@rieske
rieske merged commit b14d40c into master Jul 27, 2026
4 checks passed
@rieske
rieske deleted the phase1/03-forward-decl branch July 27, 2026 16:43
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.

2 participants