diff options
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); } |
