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

typeintersect: fix potential free TypeVar caused by chained inner var. #53675

Merged
merged 1 commit into from
Mar 13, 2024

Commits on Mar 9, 2024

  1. typeintersect: fix potential free TypeVar caused by chained inner var.

    Noticed when working on 02f27c2.
    The substitution and re-sorting of inner vars are incomplete on master.
    This commit re-organized the code by:
    1. Flatten the inner vars into a reversed list and handling them just like vars in norm bindings.
    2. Then perform a global re-sorting on all vars.
    3. After that, the inner vars get frozen and dependent bounds are refreshed.
    N5N3 committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    d47c237 View commit details
    Browse the repository at this point in the history