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: fix incremental compilation unwrap panic in AdvancerResolver #1247

Merged
merged 2 commits into from
Apr 26, 2024

Commits on Apr 25, 2024

  1. fix: fix fn invalidate_module(). This error will cause the compilatio…

    …n cache to not be cleared correctly, causing an error in the AdvancerResolver.
    
    Signed-off-by: he1pa <[email protected]>
    He1pa committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    0fa4ab5 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2024

  1. fix: fix parse cache. First update all AST information. When construc…

    …ting pkg recursively, it will try to get AST information from the cache. In the previous implementation, the old version of AST was obtained in recursion, and then the new version of AST was added to the main package, resulting in inconsistent AST versions of the same file in the main package and other pkgs.
    
    Signed-off-by: he1pa <[email protected]>
    He1pa committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    e746317 View commit details
    Browse the repository at this point in the history