diff options
Diffstat (limited to 'source/slang/slang-mangle.cpp')
| -rw-r--r-- | source/slang/slang-mangle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-mangle.cpp b/source/slang/slang-mangle.cpp index f88549e41..bdb5465e9 100644 --- a/source/slang/slang-mangle.cpp +++ b/source/slang/slang-mangle.cpp @@ -315,7 +315,7 @@ namespace Slang // Inheritance declarations don't have meaningful names, // and so we should emit them based on the type // that is doing the inheriting. - if(auto inheritanceDeclRef = declRef.as<InheritanceDecl>()) + if(auto inheritanceDeclRef = declRef.as<TypeConstraintDecl>()) { emit(context, "I"); emitType(context, getSup(context->astBuilder, inheritanceDeclRef)); |
