Created attachment 1725
Code tar file
$ cd code
$ dmd -c -I. foo.d
$ dmd -c -I. bar.d
$ nm foo.o bar.o | grep mixin
0000000000000000 W _D3foo3Foo8__mixin66foobarMFZv
U _D3foo3Foo8__mixin56foobarMFZv
Note the difference in the name of the symbol for foobar.
Comment #1 by puneet — 2019-01-16T12:56:11Z
Code is attached as tar file.
Comment #2 by razvan.nitu1305 — 2023-04-25T12:38:03Z
I cannot reproduce this with latest master. I now get:
0000000000000000 W _D3foo3Foo8__mixin66foobarMFZv
U _D3foo3Foo8__mixin66foobarMFZv
Closing as worksforme.