Bug 19591 – Unresolved Mixin Symbol

Status
RESOLVED
Resolution
WORKSFORME
Severity
critical
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2019-01-16T12:55:39Z
Last change time
2023-04-25T12:38:03Z
Assigned to
No Owner
Creator
Puneet Goel

Attachments

IDFilenameSummaryContent-TypeSize
1725code.tarCode tar fileapplication/x-tar552

Comments

Comment #0 by puneet — 2019-01-16T12:55:39Z
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.