digitalmars.D.bugs - [Issue 240] New: No file or line information in error message "cannot implicitly convert expression (-1) of type ulong to double"
- d-bugmail puremagic.com (26/26) Jul 05 2006 http://d.puremagic.com/issues/show_bug.cgi?id=240
- Derek Parnell (8/10) Jul 05 2006 Not to mention that it also makes DMD look amateurish.
- Thomas Kuehne (11/23) Jul 06 2006 -----BEGIN PGP SIGNED MESSAGE-----
- Derek Parnell (26/49) Jul 06 2006 -----BEGIN PGP SIGNED MESSAGE-----
- Thomas Kuehne (11/43) Jul 12 2006 -----BEGIN PGP SIGNED MESSAGE-----
- d-bugmail puremagic.com (9/9) Jul 18 2006 http://d.puremagic.com/issues/show_bug.cgi?id=240
http://d.puremagic.com/issues/show_bug.cgi?id=240 Summary: No file or line information in error message "cannot implicitly convert expression (-1) of type ulong to double" Product: D Version: 0.162 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: digitalmars-com baysmith.com The error message from compiling the following code does not give any file or line information. In large projects, not having the file and line information makes finding the error difficult. Code: void main() { double maxValue = ulong.max; } Command: dmd tmp.d Output: cannot implicitly convert expression (-1) of type ulong to double --
Jul 05 2006
On Wed, 5 Jul 2006 22:30:16 +0000 (UTC), d-bugmail puremagic.com wrote:In large projects, not having the file and line information makes finding the error difficult.Not to mention that it also makes DMD look amateurish. -- Derek (skype: derek.j.parnell) Melbourne, Australia "Down with mediocrity!" 6/07/2006 9:26:19 AM
Jul 05 2006
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 d-bugmail puremagic.com schrieb am 2006-07-05:http://d.puremagic.com/issues/show_bug.cgi?id=240The error message from compiling the following code does not give any file or line information. In large projects, not having the file and line information makes finding the error difficult. Code: void main() { double maxValue = ulong.max; } Command: dmd tmp.d Output: cannot implicitly convert expression (-1) of type ulong to doubleCan anybody reproduce this issue? DMD-0.162 on Linux behaved as expected and didn't produce any error messages. Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFErXwYLK5blCcjpWoRAqxxAJ9L+SbfQab1WCDfwa37uFwCTK4kRwCfV7ef HKo8pC4pxGLvU+o4GFlgOfw= =c0JV -----END PGP SIGNATURE-----
Jul 06 2006
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 6 Jul 2006 23:10:58 +0200, Thomas Kuehne wrote:-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 d-bugmail puremagic.com schrieb am 2006-07-05:Problem in Windows environment (Win XP SP2) ... c:\temp>type test1.d void main() { double maxValue = ulong.max; } c:\temp>dmd test1.d cannot implicitly convert expression (-1) of type ulong to double c:\temp>dmd Digital Mars D Compiler v0.162 Copyright (c) 1999-2006 by Digital Mars written by Walter Bright c:\temp> - -- Derek (skype: derek.j.parnell) Melbourne, Australia "Down with mediocrity!" 7/07/2006 4:14:16 PM -----BEGIN PGP SIGNATURE----- Version: PGP Desktop 9.0.6 (Build 6060) iQA/AwUBRK38LQdmdmpUW4OYEQImkgCghmb/pm0aD2EJKYGyeXW3oTrtjAkAoMbK AVYqjnJcjrD1FOgMVuz5OLYm =xGOt -----END PGP SIGNATURE-----http://d.puremagic.com/issues/show_bug.cgi?id=240The error message from compiling the following code does not give any file or line information. In large projects, not having the file and line information makes finding the error difficult. Code: void main() { double maxValue = ulong.max; } Command: dmd tmp.d Output: cannot implicitly convert expression (-1) of type ulong to doubleCan anybody reproduce this issue? DMD-0.162 on Linux behaved as expected and didn't produce any error messages.
Jul 06 2006
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Derek Parnell schrieb am 2006-07-07:On Thu, 6 Jul 2006 23:10:58 +0200, Thomas Kuehne wrote:Added to DStress as http://dstress.kuehne.cn/run/d/double_30_A.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFEtPVmLK5blCcjpWoRAo16AKCScdyqWIT5ovM7ejyd7arwguiSjQCfUlUs wHvTY9K2prVlysWsrYsl8tk= =+SdF -----END PGP SIGNATURE-----d-bugmail puremagic.com schrieb am 2006-07-05:Problem in Windows environment (Win XP SP2) ... c:\temp>type test1.d void main() { double maxValue = ulong.max; } c:\temp>dmd test1.d cannot implicitly convert expression (-1) of type ulong to double c:\temp>dmd Digital Mars D Compiler v0.162 Copyright (c) 1999-2006 by Digital Mars written by Walter Bright c:\temp>http://d.puremagic.com/issues/show_bug.cgi?id=240The error message from compiling the following code does not give any file or line information. In large projects, not having the file and line information makes finding the error difficult. Code: void main() { double maxValue = ulong.max; } Command: dmd tmp.d Output: cannot implicitly convert expression (-1) of type ulong to doubleCan anybody reproduce this issue? DMD-0.162 on Linux behaved as expected and didn't produce any error messages.
Jul 12 2006
http://d.puremagic.com/issues/show_bug.cgi?id=240 jpelcis gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Fixed DMD 0.163. --
Jul 18 2006