Skip to content

Fix/rcs1208 incorrect recursive behaviour#1119

Merged
josefpihrt merged 5 commits intodotnet:mainfrom
jamesHargreaves12:fix/RCS1208-remove-recursive
Jul 25, 2023
Merged

Fix/rcs1208 incorrect recursive behaviour#1119
josefpihrt merged 5 commits intodotnet:mainfrom
jamesHargreaves12:fix/RCS1208-remove-recursive

Conversation

@jamesHargreaves12
Copy link
Copy Markdown
Contributor

The recursive logic of the fix for RCS1208 is incorrect due to not considering the overlap of local variables when deciding if it can recurse. Please look over the new test for a reproduction of this bug (currently it will also invert the second if causing a compilation error).

The recursive behaviour is also not consistent with other fixes. When you select to fix an issue you should fix just that issue rather than all instances of that analyzer underneath the user.

@jamesHargreaves12 jamesHargreaves12 changed the title Fix/rcs1208 remove recursive Fix/rcs1208 incorrect recursive behaviour Jul 20, 2023
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

Successfully merging this pull request may close these issues.

2 participants