summaryrefslogtreecommitdiff
path: root/source/slang/slang-check-type.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-check-type.cpp')
-rw-r--r--source/slang/slang-check-type.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-check-type.cpp b/source/slang/slang-check-type.cpp
index 6a8f802f7..6bc4b9d36 100644
--- a/source/slang/slang-check-type.cpp
+++ b/source/slang/slang-check-type.cpp
@@ -324,7 +324,7 @@ namespace Slang
// Differentiable type checking.
// TODO: This can be super slow. Switch to caching the result asap.
if (this->m_parentFunc &&
- this->m_parentFunc->findModifier<JVPDerivativeModifier>())
+ this->m_parentFunc->findModifier<ForwardDifferentiableAttribute>())
{
auto diffTypeContext = this->getShared()->innermostDiffTypeContext();
if (auto subtypeWitness = as<SubtypeWitness>(