diff options
Diffstat (limited to 'source/slang/mangle.cpp')
| -rw-r--r-- | source/slang/mangle.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/slang/mangle.cpp b/source/slang/mangle.cpp index 1a412d041..29446d942 100644 --- a/source/slang/mangle.cpp +++ b/source/slang/mangle.cpp @@ -124,6 +124,12 @@ namespace Slang { emitQualifiedName(context, declRefType->declRef); } + else if (auto arrType = dynamic_cast<ArrayExpressionType*>(type)) + { + emitRaw(context, "a"); + emitSimpleIntVal(context, arrType->ArrayLength); + emitType(context, arrType->baseType); + } else { SLANG_UNEXPECTED("unimplemented case in mangling"); |
