mirror of
https://github.com/github/codeql.git
synced 2025-12-24 12:46:34 +01:00
As illustrated when running the python file, the non qualified reads in the `use` method all refer to the global variables, whereas `ex = func(baz)` are to the things defined on the class. The important part of the .expected changes is that the _global_ variable `bar` is used inside the function, whereas it's the local variable for `foo` (on class scope) that is used inside the function (which is wrong).