summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-mangle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-mangle.cpp')
-rw-r--r--source/slang/slang-mangle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-mangle.cpp b/source/slang/slang-mangle.cpp
index f08ffd75d..056c7accb 100644
--- a/source/slang/slang-mangle.cpp
+++ b/source/slang/slang-mangle.cpp
@@ -323,7 +323,7 @@ void emitVal(ManglingContext* context, Val* val)
// to mangle in the constraints even when
// the whole thing is specialized...
}
- else if (auto genericParamIntVal = dynamicCast<GenericParamIntVal>(val))
+ else if (auto genericParamIntVal = dynamicCast<DeclRefIntVal>(val))
{
// TODO: we shouldn't be including the names of generic parameters
// anywhere in mangled names, since changing parameter names