[Issue 10564] Errors on the Template page of the language specification

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Apr 22 15:32:32 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=10564

Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
                 CC|                            |andrej.mitrovich at gmail.com
            Version|unspecified                 |D2

--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> ---
(In reply to Tommi from comment #0)
> These are found on the page:
> http://dlang.org/template.html
> 
> 1) In the spec it says:
> ...but at least according to DMD, TFoo!(3) and TFoo!(3u) refer to the same
> type.

Fixed a while ago.

> 2) In the spec it says:
> 
> ...but the last line should be:
> Foo(x);    // T is int, U is int*

Thanks, will be fixed.

https://github.com/D-Programming-Language/dlang.org/pull/554

--


More information about the Digitalmars-d-bugs mailing list