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

handle some cases of hdlname attribute on private objects #4851

Merged
merged 3 commits into from
Jan 20, 2025

Conversation

nakengelhardt
Copy link
Member

What are the reasons/motivation for this change?

Supersedes #4842: There are currently too many cases that don't respect this invariant, so defer the enforcement for now.

Explain how this is achieved.

For the next release, just fix the cases already identified. In the case of an object with a private name and an hdlname attribute, allow parse_hdlname()/parse_scopename() to act as if it was a corresponding scopename attribute (ignoring the final entry). The behaviour should be unchanged for other cases.

If applicable, please suggest to reviewers how they can test the change.

@nakengelhardt nakengelhardt requested a review from jix January 15, 2025 15:06
@nakengelhardt nakengelhardt added the merge-before-release Merge: PR should be included in the next release label Jan 15, 2025
@nakengelhardt nakengelhardt merged commit 398024e into main Jan 20, 2025
44 checks passed
@nakengelhardt nakengelhardt deleted the nak/scopeindex_private_hdlname branch January 27, 2025 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge-before-release Merge: PR should be included in the next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants