You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.
If a function is called inside another function, which by chance defines a parameter with the same name as the called function, a CallOfParameter is falsely added to the reasons of the calling function.
Example
deffoo():
passdefbar(foo):
foo() # Wrong CallOfParameter: Here the function foo is called, which is pure
To Reproduce
Copy the example into the test file for testing the purity analysis
Run the tests
Expected behavior
For such cases, a special condition must be implemented to check if the function or the parameter is referenced.
Screenshots (optional)
No response
Additional Context (optional)
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
If a function is called inside another function, which by chance defines a parameter with the same name as the called function, a
CallOfParameter
is falsely added to the reasons of the calling function.Example
To Reproduce
Expected behavior
For such cases, a special condition must be implemented to check if the function or the parameter is referenced.
Screenshots (optional)
No response
Additional Context (optional)
No response
The text was updated successfully, but these errors were encountered: