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 invdepth within existential subtyping. #49049

Merged
merged 2 commits into from
Mar 21, 2023
Merged

Conversation

N5N3
Copy link
Member

@N5N3 N5N3 commented Mar 18, 2023

Follow up #49023.
Eager unwrapping changes the order of vars in env thus we must set the correct invdepth.
Fix "unreachable reached" in CMBLensing.jl on master. (https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_date/2023-03/17/CMBLensing.primary.log)

Test added.

@N5N3 N5N3 added the types and dispatch Types, subtyping and method dispatch label Mar 18, 2023
@N5N3 N5N3 added the needs pkgeval Tests for all registered packages should be run with this change label Mar 19, 2023
@N5N3
Copy link
Member Author

N5N3 commented Mar 19, 2023

@nanosoldier runtests()

@nanosoldier
Copy link
Collaborator

Your package evaluation job has completed - possible new issues were detected.
A full report can be found here.

@vtjnash vtjnash removed the needs pkgeval Tests for all registered packages should be run with this change label Mar 20, 2023
Copy link
Member

@vtjnash vtjnash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM. Feel free to merge, or decide whether you'd like to look into PopGenCore first.

@N5N3 N5N3 added the merge me PR is reviewed. Merge when all tests are passing label Mar 21, 2023
There's no need to keep it.
@N5N3 N5N3 removed the merge me PR is reviewed. Merge when all tests are passing label Mar 21, 2023
@N5N3 N5N3 merged commit ceffaee into JuliaLang:master Mar 21, 2023
@N5N3 N5N3 deleted the interbug-find branch March 21, 2023 08:14
@N5N3
Copy link
Member Author

N5N3 commented Mar 21, 2023

MWE for PopGenCore

S = Type{Ref{Union{Missing, Tuple{S1,S1} where S1<:T1}}} where T1
T = Type{F} where F<:(RefValue{Union{Missing, Tuple{S2,S2} where S2<:T2}} where T2)
typeintersect(S, T) #ERROR: StackOverflowError:

note: This stackoverflow also happens on 1.9.

N5N3 added a commit to N5N3/julia that referenced this pull request Mar 21, 2023
N5N3 added a commit that referenced this pull request Mar 24, 2023
1. code clean for `intvalued`
2. fix stackoverflow caused by re-intersection of concrete var
3. NFC clean for #49049
Xnartharax pushed a commit to Xnartharax/julia that referenced this pull request Apr 19, 2023
Xnartharax pushed a commit to Xnartharax/julia that referenced this pull request Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
types and dispatch Types, subtyping and method dispatch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants