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

Some small patch for typeintersect. #48224

Merged
merged 3 commits into from
Jan 12, 2023
Merged

Some small patch for typeintersect. #48224

merged 3 commits into from
Jan 12, 2023

Conversation

N5N3
Copy link
Member

@N5N3 N5N3 commented Jan 11, 2023

Add var substitution forgotten in 3037342 and make the reachable_var test not ignore free var.

@N5N3 N5N3 added the domain:types and dispatch Types, subtyping and method dispatch label Jan 11, 2023
They might be recreated in `finish_unionall`, (thus `lookup` returns false.)
But their bounds might still live in the current env.

close JuliaLang#44395.
(JuliaLang#44395 could also be fixed by the fast path added in JuliaLang#48221.
This commit would skip more `intersect_var` under circular constraint.)
@N5N3 N5N3 force-pushed the inter-fix2 branch 3 times, most recently from 02f37d8 to 484ce82 Compare January 11, 2023 13:49
close JuliaLang#26487.
This should be valid as we never set `X<:Y<:X` (assuming `Y` is the outer var).
@N5N3 N5N3 added the status:merge me PR is reviewed. Merge when all tests are passing label Jan 11, 2023
@N5N3 N5N3 merged commit 3933f90 into JuliaLang:master Jan 12, 2023
@N5N3 N5N3 deleted the inter-fix2 branch January 12, 2023 04:46
@N5N3 N5N3 removed the status:merge me PR is reviewed. Merge when all tests are passing label Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:types and dispatch Types, subtyping and method dispatch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants