-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Unexpected highlights from Flowistry #36
Comments
I have another one for you. This is the code without anything selected And here is what happens when you select the Now I would have expected that this would also highlight the return statement, since PS: I also tried it using a |
@JustusAdam I fixed the |
Some more weird behavior from pointers. So I am using this test code fn test() {
let mut x = 0;
let mut y = 9;
let mut ptr = &mut x;
let test = *ptr;
ptr = &mut y;
*ptr = 20;
assert_eq!(x, 0);
} Which gives the following highlight I expected this to go wrong as I expected an overapproximation wrt. the modifications through a pointer, because conflicts are based on regions and thus not flow sensitive? The test case I think shows that but also another oddity which is that the original assignment of I think I know why it has this outcome and that this will be filed as an "expected wrong" highlight but I thought I'd report it anyway. |
If you use Flowistry and it highlights something unexpectedly -- either it misses something you expect to be highlighted, or it highlights something that seems irrelevant -- please post a screenshot here!
The text was updated successfully, but these errors were encountered: