Imagine this piece of code:
In this case we will have a declaration of x in the import and 3 usage (import, first usage and second usage).
For y, we will create a FASTNonLocalDeclaration since we do not have its declaration locally. But currently we will create one for the first attribute access and one for the second attribute access.
In the future since they are accessed identically and nothing got redefined in between they should share the same FASTNonLocalDeclaration.
Imagine this piece of code:
In this case we will have a declaration of x in the import and 3 usage (import, first usage and second usage).
For y, we will create a
FASTNonLocalDeclarationsince we do not have its declaration locally. But currently we will create one for the first attribute access and one for the second attribute access.In the future since they are accessed identically and nothing got redefined in between they should share the same
FASTNonLocalDeclaration.