8000 Don't link AstRefDType if it has parameterized class ref (#4164) by RRozak · Pull Request #4170 · verilator/verilator · GitHub
[go: up one dir, main page]

Skip to content

Don't link AstRefDType if it has parameterized class ref (#4164) #4170

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

Merged
merged 1 commit into from
May 4, 2023

Conversation

RRozak
Copy link
Member
@RRozak RRozak commented May 4, 2023

It (partially) fixes references to typedefs declared in parameterized classes. It also fixes #4164.
The problem still occurs if we have a reference to a typedef declared in a parameterized class, but we don't provide parameters in this reference.

I removed this line from a test uvm_resource_types#(1,2,3)::rsrc_q_t rtab_paramed [string];, because it was incorrect. That class is not a parameterized class.

Signed-off-by: Ryszard Rozak <rrozak@antmicro.com>
@wsnyder wsnyder changed the title Don't link AstRefDType if it has parameterized class ref Don't link AstRefDType if it has parameterized class ref (#4164) May 4, 2023
@wsnyder
Copy link
Member
wsnyder commented May 4, 2023

Thanks, feel free to squash merge once tests pass.

@RRozak RRozak merged commit 266dc76 into verilator:master May 4, 2023
@RRozak RRozak deleted the rrozak/fix-paramed-type-refs branch May 31, 2023 08:42
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.

Regression in class params
2 participants
0