summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-check-expr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-check-expr.cpp')
-rw-r--r--source/slang/slang-check-expr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-check-expr.cpp b/source/slang/slang-check-expr.cpp
index f1c1b9a43..e7db665ae 100644
--- a/source/slang/slang-check-expr.cpp
+++ b/source/slang/slang-check-expr.cpp
@@ -177,7 +177,7 @@ namespace Slang
{
// Compute the type that this declaration reference will have in context.
//
- auto type = GetTypeForDeclRef(declRef);
+ auto type = GetTypeForDeclRef(declRef, loc);
// Construct an appropriate expression based on the structured of
// the declaration reference.