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.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/slang/slang-mangle.cpp b/source/slang/slang-mangle.cpp
index fbeb5c9bf..5d9320f3d 100644
--- a/source/slang/slang-mangle.cpp
+++ b/source/slang/slang-mangle.cpp
@@ -151,6 +151,11 @@ namespace Slang
}
emitRaw(context, "U");
}
+ else if( auto thisType = dynamicCast<ThisType>(type) )
+ {
+ emitRaw(context, "t");
+ emitQualifiedName(context, thisType->interfaceDeclRef);
+ }
else
{
SLANG_UNEXPECTED("unimplemented case in mangling");