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

Control flow from short circuited conditions is not properly recognized. #168

Open
JustusAdam opened this issue Dec 7, 2024 · 0 comments

Comments

@JustusAdam
Copy link
Collaborator

In this test case the desugaring rustc performs on the AST means that no influence from source() to read_t() is recognized

fn control_flow_tracking_for_compound_cond_with_fun() {
    let a_val = new_s();
    if source() > 8 && input() < 9 {
        read_t(&a_val);
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant