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


Shin Fujishiro <rsi...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |rsi...@gmail.com
         Resolution|                            |DUPLICATE


--- Comment #1 from Shin Fujishiro <rsi...@gmail.com> 2010-10-27 15:23:44 PDT 
---
Expansion works inside dynamic array literals, but doesn't inside array
initializers.  The following works (both D1 & D2):

template Foo(Strings...)
{
    const a2 = ([Strings])[];  // as an array literal
}

alias Foo!("one", "two") foo;

*** This issue has been marked as a duplicate of issue 1064 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to