[Issue 10325] ddoc: template constraints inconsistently shown in generated html

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 10 14:54:26 PDT 2013


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


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc


--- Comment #1 from bearophile_hugs at eml.cc 2013-06-10 14:54:24 PDT ---
(In reply to comment #0)

> ddoc doesn't generate template constraints or does so very inconsistently :
> in http://dlang.org/phobos/std_algorithm.html we have:
> template map(fun...) if (fun.length >= 1);
> but all other template constraints are omitted, eg:
> void fill(Range, Value)(Range range, Value filler); // template constraint
> omitted.

I suggest you to write here a little test case program that imports nothing
from Phobos, usable as test case. It should cover various cases, to make it
usable as test case for the person that will write the patch that fixes the
bug.

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