Skip to content

Require determined goal types before dictionary search - #6293

Open
runarorama wants to merge 1 commit into
gh/runarorama/25/basefrom
gh/runarorama/25/head
Open

runarorama wants to merge 1 commit into
gh/runarorama/25/basefrom
gh/runarorama/25/head

Conversation

@runarorama

@runarorama runarorama commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Stack from ghstack (oldest at bottom):

Reject goals containing unresolved inference variables before invoking dictionary search. A matching dictionary cannot infer a goal type; callers must first apply ordinary inference substitutions and require an annotation when variables remain unresolved. Rigid universals remain valid goals for polymorphic dictionary matching.

Regression tests cover a concrete dictionary with an unknown goal, nested and quantified unknowns, ordinary solved goals, and rigid-variable matching. This implements the agreed conservative inference boundary.

Full validation: all 13 unit suites, 22 CLI integration tests, 391 transcripts, edit/load round trips, manual rewrites, docs HTML generation, compiled fix5507 regression, and formatting passed.

[ghstack-poisoned]
This was referenced Sep 30, 2026

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