Skip to content

Expose HIR type substitution and validate concrete arguments using the shared source constraint solver. - #3902

Draft
Ian Davis (idavis) wants to merge 1 commit into
iadavis/pass-split/pinned-udt-rootsfrom
iadavis/pass-split/concrete-generic-validation
Draft

Ian Davis (idavis) wants to merge 1 commit into
iadavis/pass-split/pinned-udt-rootsfrom
iadavis/pass-split/concrete-generic-validation

Conversation

@idavis

@idavis Ian Davis (idavis) commented Oct 7, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

The branch introduces a public frontend API:

validate_instantiation(...)

This API can validate already-selected concrete generic arguments using the source type checker’s constraint solver.

It builds and tests the validator needed to fix concrete generic-instantiation bugs in a later branch, but it does not yet invoke that validator from any existing production compiler path. This is setup for a bigger validation and safety check PR in the future.

@idavis
Ian Davis (idavis) added this pull request to stack #3892 October 7, 2026 00:51

This branch has not been deployed

No deployments
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