digitalmars.D.bugs - Wrong line number for function with parameter of deprecated type
- Stewart Gordon (15/15) Apr 08 2005 Using DMD 0.120, Windows 98SE.
- Thomas Kuehne (15/26) Apr 08 2005 -----BEGIN PGP SIGNED MESSAGE-----
Using DMD 0.120, Windows 98SE. If I declare a function with a parameter of deprecated type, the compiler reports the line number where the type is defined. It should report where the function is declared. ---------- deprecated class Qwert {} void yuiop(Qwert q) {} ---------- D:\My Documents\Programming\D\Tests\bugs\dep6.d(1): class dep6.Qwert is deprecated ---------- Stewart. -- My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.
Apr 08 2005
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stewart Gordon schrieb am Fri, 08 Apr 2005 10:20:47 +0100:Using DMD 0.120, Windows 98SE. If I declare a function with a parameter of deprecated type, the compiler reports the line number where the type is defined. It should report where the function is declared. ---------- deprecated class Qwert {} void yuiop(Qwert q) {} ---------- D:\My Documents\Programming\D\Tests\bugs\dep6.d(1): class dep6.Qwert is deprecated ----------Added to DStess as http://dstress.kuehne.cn/nocompile/deprecated_14.d http://dstress.kuehne.cn/nocompile/deprecated_15.d http://dstress.kuehne.cn/nocompile/deprecated_16.d http://dstress.kuehne.cn/nocompile/deprecated_17.d http://dstress.kuehne.cn/nocompile/deprecated_18.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFCVlWJ3w+/yD4P9tIRAhCvAKCi1GwlW9/AwZbP/HchqzC2FlkrPwCfcNiw AeA5pt3mFsxjGnqIM963ydc= =Ti2q -----END PGP SIGNATURE-----
Apr 08 2005