diff options
| author | Yong He <yonghe@outlook.com> | 2017-11-01 13:16:26 -0400 |
|---|---|---|
| committer | Yong He <yonghe@outlook.com> | 2017-11-01 13:16:26 -0400 |
| commit | 134354c68768c0e3530c02678e12cb02f5646e8a (patch) | |
| tree | 20a9ae10db6790ddc5032315b85efd94fc672cff /source/slang/mangle.cpp | |
| parent | b623864fe609e6912cdd2e350aa70cf7e441e1d3 (diff) | |
Adding support for associated types.
Diffstat (limited to 'source/slang/mangle.cpp')
| -rw-r--r-- | source/slang/mangle.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/slang/mangle.cpp b/source/slang/mangle.cpp index 63e54d065..cd90a0e41 100644 --- a/source/slang/mangle.cpp +++ b/source/slang/mangle.cpp @@ -117,6 +117,10 @@ namespace Slang { emitQualifiedName(context, declRefType->declRef); } + else if (auto assocTypeDeclRefType = dynamic_cast<AssocTypeDeclRefType*>(type)) + { + emitQualifiedName(context, assocTypeDeclRefType->declRef); + } else { SLANG_UNEXPECTED("unimplemented case in mangling"); |
