[Issue 240] New: No file or line information in error message "cannot implicitly convert expression (-1) of type ulong to double"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jul 5 15:30:16 PDT 2006


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 at digitalmars.com
        ReportedBy: digitalmars-com at 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


-- 




More information about the Digitalmars-d-bugs mailing list