Open hksdpc255 opened 4 months ago
Perhaps the problem is that CodeQL does not "see" that var1
and var2
are references to the same object. What happens if you don't write var1 = var2
and use var1
in all the places where it says var2
?
That's the problem. CodeQL does not "see" that var1 and var2 are references to the same object.
So, is there any plan to fix this bug?
Python
CodeQL
Output
self.field
in line 7self.field
in line 7Expected result
self.field
in line 7self.field
in line 7self.field
in line 7self.field
in line 16