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

inference: make limit::Int as a caching key of CachedMethodTable #46799

Merged
merged 1 commit into from
Sep 17, 2022

Commits on Sep 16, 2022

  1. inference: make limit::Int as a caching key of CachedMethodTable

    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
    aviatesk committed Sep 16, 2022
    Configuration menu
    Copy the full SHA
    8868d8a View commit details
    Browse the repository at this point in the history