summaryrefslogtreecommitdiff
path: root/source/slang/slang-check-decl.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2023-02-24 13:22:07 -0800
committerGitHub <noreply@github.com>2023-02-24 13:22:07 -0800
commit91694dacdb8d3ab7dd9783d7c0c43629bf11f578 (patch)
tree19eb8db8845b22c379ebc3f114d610c1e401bd9d /source/slang/slang-check-decl.cpp
parentbd6306cdaa4a49344658bd026721b6532e103d09 (diff)
Fix differential type registration through non-differentiable type. (#2677)
* Fix differential type registration through non-differentiable type. * More fix. --------- Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang/slang-check-decl.cpp')
-rw-r--r--source/slang/slang-check-decl.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/slang/slang-check-decl.cpp b/source/slang/slang-check-decl.cpp
index 381efa2c7..142842e12 100644
--- a/source/slang/slang-check-decl.cpp
+++ b/source/slang/slang-check-decl.cpp
@@ -5037,7 +5037,6 @@ namespace Slang
auto thisType = calcThisType(parentDeclRef);
maybeRegisterDifferentiableType(m_astBuilder, thisType);
}
- completeDifferentiableTypeDictionary();
m_parentDifferentiableAttr = oldAttr;
}