[Issue 5518] New: No line number for incompatible types error message

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 2 10:15:41 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=5518

           Summary: No line number for incompatible types error message
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic
          Severity: minor
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc


--- Comment #0 from bearophile_hugs at eml.cc 2011-02-02 10:13:23 PST ---
This D2 program:

import std.math;
void main() {
    auto a = [&asin, &cbrt];
}


Its error message lacks a line number:

Error: incompatible types for ((& asin) ? (& cbrt)): 'real function(real x)
pure nothrow @safe' and 'real function(real x) nothrow @trusted'

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list