Skip to content

Make Monotype function identities explicit#9639

Draft
rtfeldman wants to merge 1 commit into
mainfrom
rtfeldman/monotype-fn-specialization-ids
Draft

Make Monotype function identities explicit#9639
rtfeldman wants to merge 1 commit into
mainfrom
rtfeldman/monotype-fn-specialization-ids

Conversation

@rtfeldman

Copy link
Copy Markdown
Contributor

Monotype now assigns explicit function specialization ids during lowering and threads them through function values and direct calls, so lifting can map ids directly instead of reconstructing identity from FnTemplate digests. Deferred top-level specializations reserve their function ids before their bodies are lowered, and nested/lambda specializations reuse the same Monotype-owned ids. This removes the lifter's template-family fallback and makes B101 an active regression test.\n\nFixes #9519.

@rtfeldman rtfeldman force-pushed the rtfeldman/monotype-fn-specialization-ids branch from 09886fc to 33e7068 Compare June 13, 2026 11:44
@rtfeldman rtfeldman force-pushed the rtfeldman/monotype-fn-specialization-ids branch from 33e7068 to 95019c9 Compare June 13, 2026 14:20
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