-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
inference: need to invalidate stale Conditional
wrapped in PartialStruct
#42090
Labels
compiler:inference
Type inference
good first issue
Indicates a good issue for first-time contributors to Julia
Comments
I would prefer the simpler solution. There is typically no value in forwarding Conditional too far (widenreturn often strips it too). |
aviatesk
added a commit
that referenced
this issue
Sep 2, 2021
63 tasks
LilithHafner
pushed a commit
to LilithHafner/julia
that referenced
this issue
Feb 22, 2022
…n `PartialStruct` (JuliaLang#42091)
LilithHafner
pushed a commit
to LilithHafner/julia
that referenced
this issue
Mar 8, 2022
…n `PartialStruct` (JuliaLang#42091)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
compiler:inference
Type inference
good first issue
Indicates a good issue for first-time contributors to Julia
MRE:
I encountered
Conditional
wrapped inPartialStruct
when theConditional
is captured in a closure.Solutions:
LimitedAccuracy
:julia/base/compiler/typelattice.jl
Line 366 in 3aada59
PartialStruct
to wrapConditional
Which one do we want ?
The text was updated successfully, but these errors were encountered: