https://github.com/JuliaLang/julia
Revision e24dd3b968346f33938bec901a61898c8d878de4 authored by Shuhei Kadowaki on 17 September 2022, 02:59:15 UTC, committed by GitHub on 17 September 2022, 02:59:15 UTC
Sometimes `Core.Compiler.findall(::Type, ::CachedMethodTable; limit::Int)`
is called with different `limit` setting (in particularity
`return_type_tfunc` calls it with `limit=-1`). The query should return
different results given different `limit` settings, so its cache should
also have different keys per different `limit` settings.

fix #46722
1 parent 81f6c23
History
Tip revision: e24dd3b968346f33938bec901a61898c8d878de4 authored by Shuhei Kadowaki on 17 September 2022, 02:59:15 UTC
inference: make `limit::Int` as a caching key of `CachedMethodTable` (#46799)
Tip revision: e24dd3b
File Mode Size
LICENSE.md -rw-r--r-- 1.5 KB
Ryu.jl -rw-r--r-- 6.2 KB
exp.jl -rw-r--r-- 6.9 KB
fixed.jl -rw-r--r-- 5.5 KB
shortest.jl -rw-r--r-- 15.3 KB
utils.jl -rw-r--r-- 12.5 KB

back to top