We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A few more minimized examples where the CFG reconstruction is sub-optimal:
fn f1(b : bool, c : bool) { let a; if b { a = 1; assert!( a == 1 ); // The presence of this assert triggers the issue } else if c { return; } }
which gets reconstructed as:
fn f1(bool b, bool c) { if (!b) { if (!c) { return; } return; } a = 1; assert (a == 1); }
And:
fn f2(b : bool, c : u32) { let mut a = 0; while { if b { a = 1; } c > a } {} }
fn f2(bool b, uint32_t c) { let a = 0; loop { if (b) { a = 1; if (!(c > a)) { break; } } else if (!(c > a)) { break; } } }
The text was updated successfully, but these errors were encountered:
Could you link the other open issues we have on the topic?
Sorry, something went wrong.
The other issues are: #507 #297
No branches or pull requests
A few more minimized examples where the CFG reconstruction is sub-optimal:
which gets reconstructed as:
And:
which gets reconstructed as:
The text was updated successfully, but these errors were encountered: