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 #39698, bad Vararg typevar bounds due to intersection #39722

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

JeffBezanson
Copy link
Member

caused by #39623

@JeffBezanson JeffBezanson added types and dispatch Types, subtyping and method dispatch bugfix This change fixes an existing bug backport 1.6 Change should be backported to release-1.6 labels Feb 18, 2021
@JeffBezanson
Copy link
Member Author

If this doesn't work, I'd also strongly consider just removing the error that happens here. We don't usually check the bounds of variables (e.g. Complex{<:String}), one reason being that it would be really hard for subtyping/intersection to know how to avoid violating the rules.

@JeffBezanson
Copy link
Member Author

Why is subtyping different on windows 😱

@vtjnash
Copy link
Member

vtjnash commented Nov 28, 2022

rebase?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This change fixes an existing bug types and dispatch Types, subtyping and method dispatch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants