Skip to content

Skip impossible overload candidates#917

Open
snazy wants to merge 1 commit into
projectnessie:mainfrom
snazy:imp-overl-skip
Open

Skip impossible overload candidates#917
snazy wants to merge 1 commit into
projectnessie:mainfrom
snazy:imp-overl-skip

Conversation

@snazy

@snazy snazy commented Jul 17, 2026

Copy link
Copy Markdown
Member

Filter checker overload candidates by call style and arity before building function types and running assignability checks.

This avoids repeated substitution and mapping copies for overloads that cannot match while preserving the existing resolution path for viable candidates.

Filter checker overload candidates by call style and arity before building function types and running assignability checks.

This avoids repeated substitution and mapping copies for overloads that cannot match while preserving the existing resolution path for viable candidates.
@snazy
snazy requested a review from XN137 July 17, 2026 07:57
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