summaryrefslogtreecommitdiffstats
path: root/tests/bugs/gh-6756.slang
Commit message (Collapse)AuthorAge
* Fix issue of missing scope for 'Differential' type (#7433)kaizhangNV2025-06-12
* Fix issue of missing scope for 'Differential' type When we synthesize the struct decl for Differential type, we should add the ownedScope for this decl, because the scope is used in lots of locations in the following synthesized processes, e.g. constructor synthesize. And that could cause surprising behavior, e.g. the 'this' expression could access the members of parent struct decl. Fix the issue by adding the scope. The containerDecl will be the Differential struct decl itself, parent scope will be the parent struct. * Add a unit-test