Variable is used but not assigned inspection fires multiple times with With
block
#3636
Labels
bug
Identifies work items for known bugs
discussion
feature-inspection-quickfixes
feature-inspections
Projects
This code triggers the inspection 4 times, with all 4 inspections referring to the
wb
inWith wb
location;I'd argue that the inpsection should only fire once, for the above code block, as the member calls are actually against the temorary variable created by the With block, rather than against the
wb
variable.Also, in my build, the quickfix for all occurrences in module throws an error.
The text was updated successfully, but these errors were encountered: