[Issue 4936] Better error when type inference fails due to incorrect template parameter type

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 26 12:21:33 PDT 2010


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


Jesse Phillips <Jesse.K.Phillips+D at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|rejects-valid               |
          Component|Phobos                      |DMD
         AssignedTo|andrei at metalanguage.com     |nobody at puremagic.com
            Summary|Regression(2.049)           |Better error when type
                   |std.algorithm.completeSort  |inference fails due to
                   |doesn't match string arrays |incorrect template
                   |                            |parameter type
           Severity|normal                      |enhancement


--- Comment #1 from Jesse Phillips <Jesse.K.Phillips+D at gmail.com> 2010-10-26 12:20:41 PDT ---
completeSort no longer takes arbitrary ranges, it takes a SortedRange as the
first parameter, and that is causing the error.

I guess the easiest would be to include the parameter list, but maybe that
would make it too cluttered?

-- 
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