diff options
| author | ArielG-NV <159081215+ArielG-NV@users.noreply.github.com> | 2024-08-20 18:50:24 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-20 18:50:24 -0400 |
| commit | 77e6c6470e1aeac14ea31ba493b71f053e66f404 (patch) | |
| tree | dafdad7c3bbf2e23731fb83f4ffc325ae0b7decf /source | |
| parent | 579d59c761cb0460701e0e820eb066275fe357b3 (diff) | |
Fixes #4879 (#4881)
track containor-decl with `DifferentialType` scope varaible synthesized
Diffstat (limited to 'source')
| -rw-r--r-- | source/slang/slang-ast-synthesis.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang-ast-synthesis.h b/source/slang/slang-ast-synthesis.h index e595afac1..0726360d3 100644 --- a/source/slang/slang-ast-synthesis.h +++ b/source/slang/slang-ast-synthesis.h @@ -52,6 +52,7 @@ public: auto parentScope = getScope(decl); decl->ownedScope = m_builder->create<Scope>(); decl->ownedScope->parent = parentScope; + decl->ownedScope->containerDecl = decl; pushContainerScope(decl); } |
