summaryrefslogtreecommitdiff
path: root/source/slang/slang-check.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-check.cpp')
-rw-r--r--source/slang/slang-check.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang-check.cpp b/source/slang/slang-check.cpp
index b86d90cec..e97cb0b61 100644
--- a/source/slang/slang-check.cpp
+++ b/source/slang/slang-check.cpp
@@ -201,6 +201,7 @@ namespace Slang
{
SharedSemanticsContext sharedSemanticsContext(
translationUnit->compileRequest->getLinkage(),
+ translationUnit->getModule(),
translationUnit->compileRequest->getSink());
SemanticsDeclVisitorBase visitor(&sharedSemanticsContext);