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

Add let else drop order tests #99291

Merged
merged 1 commit into from
Sep 6, 2022
Merged

Add let else drop order tests #99291

merged 1 commit into from
Sep 6, 2022

Commits on Sep 5, 2022

  1. Add matrix based test for documenting the let / let else temporary dr…

    …op order
    
    The drop order of let and let else is supposed to be the same,
    and in order to ensure this, the test checks that this holds for
    the given list of cases.
    
    The test also ensures that we drop the temporaries of the
    condition before executing the else block.
    
    We made the test matrix based so it can check all the possible
    combinations and find out possible edge cases.
    est31 committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    2d8460e View commit details
    Browse the repository at this point in the history