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

allow src.slottypes === nothing for unoptimized src #445

Merged
merged 1 commit into from
Apr 27, 2023
Merged

Conversation

aviatesk
Copy link
Member

On nightly Cthulhu.jl tries to generate src.slottypes::Vector{Any} even when there is heavy recursion detected (xref #418), but it turns out that record_slot_assign!(sv) works only when sv.ssavaluetypes does not contain any LimitedAccuracyies (#442).

Luckily, while working on #418, we added the support in TypedSyntax for the src.slottypes === nothing case, so we can use it and remove the code to generate src.slottypes::Vector{Any}

Fixes #442.

On nightly Cthulhu.jl tries to generate `src.slottypes::Vector{Any}`
even when there is heavy recursion detected (xref #418), but it turns
out that `record_slot_assign!(sv)` works only when `sv.ssavaluetypes`
does not contain any `LimitedAccuracy`ies (#442).

Luckily, while working on #418, we added the support in TypedSyntax
for the `src.slottypes === nothing` case, so we can use it and remove
the code to generate `src.slottypes::Vector{Any}`

Fixes #442.
@aviatesk
Copy link
Member Author

aviatesk commented Apr 27, 2023

The failure is unrelated and caused by JuliaLang/julia#41099.

@aviatesk aviatesk merged commit fe6171b into master Apr 27, 2023
@aviatesk aviatesk deleted the avi/442 branch April 27, 2023 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

unhandled LimitedAccuracy in annotate_slottypes!
1 participant