Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue where jump to definition would go to the wrong place when there are aliased identifiers in submodules #653

Merged
merged 4 commits into from
Dec 15, 2022

Conversation

cristianoc
Copy link
Collaborator

@cristianoc cristianoc commented Dec 15, 2022

In the example, the reference to DefinitionWithInterface.Inner.y leads to DefinitionWithInterface.y instead. This seems to happen only when there is an interface file, and the outer module has the same value named y as the inner module.

See #652

…owing.

In the example, the reference to `DefinitionWithInterface.Inner.y` leads to `DefinitionWithInterface.y` instead.
This seems to happen only when there is an interface file, and the outer module has the same value named `y` as the inner module.

See #652
@cristianoc cristianoc changed the title Add an example of wrong reference with inner modules, .resi, and shad… Fix issue where jump to definition would go to the wrong place when there are aliased identifiers in submodules Dec 15, 2022
@cristianoc cristianoc merged commit e9853d5 into master Dec 15, 2022
@cristianoc cristianoc deleted the wrong_reference_inner_module_shadowing branch December 15, 2022 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant