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

           Summary: Useless 'cannot implicitly convert' errors when number
                    of function arguments is wrong
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: clugd...@yahoo.com.au


--- Comment #0 from Don <clugd...@yahoo.com.au> 2012-02-21 07:14:03 PST ---
When the compiler reports errors of the form "expected 6 function arguments,
not 5",
trying to implicitly convert the first 5 arguments generates spurious "cannot
implicitly convert XXX to YYY" errors.
To add value, the compiler could try to work out which argument is missing;
unless it does that, it shouldn't attempt the conversion.

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

Reply via email to