summaryrefslogtreecommitdiffstats
path: root/source/slang/slang.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang.cpp')
-rw-r--r--source/slang/slang.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp
index 602446cda..67d13c34b 100644
--- a/source/slang/slang.cpp
+++ b/source/slang/slang.cpp
@@ -6079,7 +6079,7 @@ struct SpecializationArgModuleCollector : ComponentTypeVisitor
{
collectReferencedModules(type);
}
- else if (auto declRefVal = as<GenericParamIntVal>(val))
+ else if (auto declRefVal = as<DeclRefIntVal>(val))
{
collectReferencedModules(declRefVal->getDeclRef());
}