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 f2d84be commit af81842Copy full SHA for af81842
1 file changed
compiler/src/dmd/glue/toobj.d
@@ -815,6 +815,15 @@ void toObjFile(Dsymbol ds, bool multiobj)
815
}
816
//printf("TemplateInstance.toObjFile(%p, '%s')\n", ti, ti.toPrettyChars());
817
818
+ if (ti.tiargs)
819
+ {
820
+ foreach (o; *ti.tiargs)
821
822
+ if (auto s = isDsymbol(o))
823
+ s.accept(this);
824
+ }
825
826
+
827
if (multiobj)
828
{
829
// Append to list of object files to be written later
@@ -832,6 +841,15 @@ void toObjFile(Dsymbol ds, bool multiobj)
832
841
//printf("TemplateMixin.toObjFile('%s')\n", tm.toChars());
833
842
if (!isError(tm))
834
843
844
+ if (tm.tiargs)
845
846
+ foreach (o; *tm.tiargs)
847
848
849
850
851
852
835
853
tm.members.foreachDsymbol( (s) { s.accept(this); } );
836
854
837
855
0 commit comments