http://d.puremagic.com/issues/show_bug.cgi?id=10325
Andrej Mitrovic <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #3 from Andrej Mitrovic <[email protected]> 2013-06-11 07:31:41 PDT --- Test-case: ----- module ddoc10325; /** */ template templ(T...) if (someConstraint!T) { } /** */ void foo(T)(T t) if (someConstraint!T) { } void main() { } ----- The constraints for 'foo' are not shown. Constraints should be part of the documentation, they form part of the interface. When a user gets an error about instantiating a template, he will get the name of the template and its constraints, it only makes sense to also include the constraints in the documentation. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
