Skip to content

Conversation

cristianoc
Copy link
Collaborator

See #621

@cristianoc
Copy link
Collaborator Author

When an id is shadowed, the compiler generates a module constraint for the module where the id is defined.
The constraint contains a type for the id without the doc comment (an attribute), which replaces the one with doc comment.

@cristianoc cristianoc changed the title Add example showing how shadowing affects hovering on doc comments. Fix issue where doc comment is not shown on hover in case of shadowed identifier Nov 3, 2022
@cristianoc cristianoc merged commit da80ba2 into master Nov 3, 2022
@cristianoc cristianoc deleted the exmple_doc_comment_shadowing branch November 3, 2022 10:01
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.

1 participant