Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix up Conditional-forwarding for vararg methods #47438

Merged
merged 1 commit into from
Nov 3, 2022
Merged

Conversation

aviatesk
Copy link
Member

@aviatesk aviatesk commented Nov 3, 2022

If Conditional is imposed on argument that is squashed to vararg-tuple then we don't need to widenconditional on isva_given_argtypes (because Conditional-information is already widened during the conversion to that vararg-tuple type -- since PartialStruct now never wraps slot wrappers with the explicit check within its constructor).

Fixes #47435.

If `Conditional` is imposed on argument that is squashed to vararg-tuple
then we don't need to `widenconditional` on `isva_given_argtypes`
(because `Conditional`-information is already widened during the
conversion to that vararg-tuple type -- since `PartialStruct` now never
wraps slot wrappers with the explicit check within its constructor).

Fixes #47435.
@aviatesk aviatesk added compiler:inference Type inference backport 1.8 Change should be backported to release-1.8 labels Nov 3, 2022
@aviatesk aviatesk merged commit d9bcc5f into master Nov 3, 2022
@aviatesk aviatesk deleted the avi/47435 branch November 3, 2022 13:41
@aviatesk aviatesk mentioned this pull request Nov 3, 2022
37 tasks
@KristofferC KristofferC removed the backport 1.8 Change should be backported to release-1.8 label Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:inference Type inference
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Internal error when interpolating function calls w/ type inference in debug strings
3 participants