www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Bug 107] New: Wrong filename in error message

reply d-bugmail puremagic.com writes:
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.


-- 
Apr 15 2006
parent Thomas Kuehne <thomas-dloop kuehne.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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 -----BEGIN PGP SIGNATURE----- iD8DBQFERJR03w+/yD4P9tIRAlo/AJ969+RThjLSp0BJeu/RiiCu03SB1gCfeBFW 7JAhupo+2H+tYM8w9lBbAqY= =yj8G -----END PGP SIGNATURE-----
Apr 17 2006