www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19591] New: Unresolved Mixin Symbol

https://issues.dlang.org/show_bug.cgi?id=19591

          Issue ID: 19591
           Summary: Unresolved Mixin Symbol
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: puneet coverify.org

Created attachment 1725
  --> https://issues.dlang.org/attachment.cgi?id=1725&action=edit
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.

--
Jan 16 2019