summaryrefslogtreecommitdiffstats
path: root/tools/slang-unit-test/unit-test-separate-debug.cpp
diff options
context:
space:
mode:
authorkaizhangNV <149626564+kaizhangNV@users.noreply.github.com>2025-06-12 14:59:27 -0500
committerGitHub <noreply@github.com>2025-06-12 12:59:27 -0700
commit60b66c309075e91824aef69a153e304561ca6041 (patch)
tree982f92232cf35a6d282e6dad76a4ff321582c4bc /tools/slang-unit-test/unit-test-separate-debug.cpp
parent3ffeaf4c7f22bfe95702da76d710362b277e15ac (diff)
Fix issue of missing scope for 'Differential' type (#7433)
* 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
Diffstat (limited to 'tools/slang-unit-test/unit-test-separate-debug.cpp')
0 files changed, 0 insertions, 0 deletions