We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3c9e82 commit ec7bc3bCopy full SHA for ec7bc3b
compiler/src/dmd/mangle/package.d
@@ -568,6 +568,8 @@ public:
568
else if (p.getIdent())
569
{
570
mangleIdentifier(p.ident, s);
571
+ if (p.isModule() || p.isPackage())
572
+ buf.writeByte('M');
573
if (FuncDeclaration f = p.isFuncDeclaration())
574
mangleFunc(f, true);
575
}
@@ -921,7 +923,11 @@ public:
921
923
922
924
mangleParent(s);
925
if (s.ident)
926
+ {
927
mangleIdentifier(s.ident, s);
928
+ if (s.isModule() || s.isPackage())
929
930
+ }
931
else
932
toBuffer(*buf, s.toString(), s);
933
//printf("Dsymbol.mangle() %s = %s\n", s.toChars(), id);
0 commit comments