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 ~50 invalidations stemming from modules_to_be_loaded #41878

Merged
merged 1 commit into from
Aug 18, 2021

Conversation

timholy
Copy link
Member

@timholy timholy commented Aug 13, 2021

ChainRulesCore defines ==(a, b::AbstractThunk) and its converse,
and these end up invaliding parts of the REPL (including eval_user_input)
via inference failures in modules_to_be_loaded.

CC @ChrisRackauckas

stdlib/REPL/src/REPL.jl Outdated Show resolved Hide resolved
ChainRulesCore defines `==(a, b::AbstractThunk)` and its converse,
and these end up invaliding parts of the REPL (including `eval_user_input`)
via inference failures in `modules_to_be_loaded`.

Co-authored by: Jameson Nash <[email protected]>
@timholy
Copy link
Member Author

timholy commented Aug 17, 2021

This doubles-down on Jameson's "better to check in the caller" comment and just removes support for anything other than Expr. You OK with that, @IanButterworth?

@IanButterworth
Copy link
Member

I think so. The test coverage should already be representative of the original spec, so if there are gaps outside of Expr it seems better to be additive. So 👍

@timholy timholy merged commit 7a6336d into master Aug 18, 2021
@timholy timholy deleted the teh/inval_mods_loaded branch August 18, 2021 08:25
KristofferC pushed a commit that referenced this pull request Aug 25, 2021
ChainRulesCore defines `==(a, b::AbstractThunk)` and its converse,
and these end up invaliding parts of the REPL (including `eval_user_input`)
via inference failures in `modules_to_be_loaded`.

Co-authored by: Jameson Nash <[email protected]>

(cherry picked from commit 7a6336d)
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Feb 22, 2022
…#41878)

ChainRulesCore defines `==(a, b::AbstractThunk)` and its converse,
and these end up invaliding parts of the REPL (including `eval_user_input`)
via inference failures in `modules_to_be_loaded`.

Co-authored by: Jameson Nash <[email protected]>
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Mar 8, 2022
…#41878)

ChainRulesCore defines `==(a, b::AbstractThunk)` and its converse,
and these end up invaliding parts of the REPL (including `eval_user_input`)
via inference failures in `modules_to_be_loaded`.

Co-authored by: Jameson Nash <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:latency Compiler latency
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants