We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9876c39 commit 7c24faeCopy full SHA for 7c24fae
1 file changed
swift/extractor/visitors/DeclVisitor.cpp
@@ -296,6 +296,9 @@ std::string DeclVisitor::mangledName(const swift::ValueDecl& decl) {
296
if (decl.getKind() == swift::DeclKind::Module) {
297
return static_cast<const swift::ModuleDecl&>(decl).getRealName().str().str();
298
}
299
+ if (decl.getKind() == swift::DeclKind::TypeAlias) {
300
+ return mangler.mangleEntity(&decl);
301
+ }
302
// prefix adds a couple of special symbols, we don't necessary need them
303
return mangler.mangleAnyDecl(&decl, /* prefix = */ false);
304
0 commit comments