April 15, 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=107

           Summary: Wrong filename in error message
           Product: D
           Version: 0.150
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: benoit@tionex.de


if template declaration and mixin are in different files, and an error occurs, the message:

file1(2465): template instance ... error instantiating

the filename is from the file with the template decl, the line number from the file with the mixin instantion.

Filename should be the one of the mixin instantiation.


-- 

April 18, 2006
d-bugmail@puremagic.com schrieb am 2006-04-15:
> if template declaration and mixin are in different files, and an error occurs, the message:
>
> file1(2465): template instance ... error instantiating
>
> the filename is from the file with the template decl, the line number from the file with the mixin instantion.
>
> Filename should be the one of the mixin instantiation.

Added to DStress as http://dstress.kuehne.cn/compile/m/mixin_21_A.d http://dstress.kuehne.cn/nocompile/m/mixin_21_B.d

Thomas