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

Nick Treleaven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Can't pass array or vector  |Can't pass vector type
                   |.init as template parameter |.init property as template
                   |                            |parameter

--- Comment #2 from Nick Treleaven <[email protected]> ---
> alias a = MyTemplate!(int[].init); // NG

That one works as of 2.102.2.

> alias a = MyTemplate!(int[4].init); // NG

That one is still a parse error, but I filed it separately as issue 24740 as it
applies to other contexts too.

--

Reply via email to