Thread overview
[Issue 14836] [REG2.068a] Multiple variadic template argument trick broken
[Issue 14836] Multiple variadic template argument trick broken in 2.068.0-b2
Jul 27, 2015
Kenji Hara
Jul 27, 2015
ag0aep6g@gmail.com
Jul 27, 2015
Kenji Hara
July 26, 2015
https://issues.dlang.org/show_bug.cgi?id=14836

--- Comment #1 from briancschott@gmail.com ---
Changing the first function to this
---
void alpha()()
{
    writeln("First");
}
---
is a workaround.

--
July 27, 2015
https://issues.dlang.org/show_bug.cgi?id=14836

Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
           Hardware|x86_64                      |All
            Summary|Multiple variadic template  |[REG2.068a] Multiple
                   |argument trick broken in    |variadic template argument
                   |2.068.0-b2                  |trick broken
                 OS|Linux                       |All

--- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> ---
Introduced in: https://github.com/D-Programming-Language/dmd/pull/4408

--
July 27, 2015
https://issues.dlang.org/show_bug.cgi?id=14836

ag0aep6g@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ag0aep6g@gmail.com

--- Comment #3 from ag0aep6g@gmail.com ---
Another workaround:

----
template alpha(alias Beta, Charlie...)
{
    void impl(Delta...)() if (Delta.length == 0) {/*...*/}

    void impl(Delta...)(Delta delta) if (Delta.length > 0) {/*...*/}

    alias alpha = impl;
}
----

--
July 27, 2015
https://issues.dlang.org/show_bug.cgi?id=14836

Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #4 from Kenji Hara <k.hara.pg@gmail.com> ---
https://github.com/D-Programming-Language/dmd/pull/4840

--
July 28, 2015
https://issues.dlang.org/show_bug.cgi?id=14836

github-bugzilla@puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--
July 28, 2015
https://issues.dlang.org/show_bug.cgi?id=14836

--- Comment #5 from github-bugzilla@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/11e4a08146a9751cb3d6b965be5867835ea756d1 fix Issue 14836 - Multiple variadic template argument trick broken

https://github.com/D-Programming-Language/dmd/commit/c5c9233257d9629493a651bdd8e9cc3ed62927aa Merge pull request #4840 from 9rnsr/fix14836

[REG2.068a] Issue 14836 - Multiple variadic template argument trick broken

--
July 30, 2015
https://issues.dlang.org/show_bug.cgi?id=14836

--- Comment #6 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/11e4a08146a9751cb3d6b965be5867835ea756d1 fix Issue 14836 - Multiple variadic template argument trick broken

https://github.com/D-Programming-Language/dmd/commit/c5c9233257d9629493a651bdd8e9cc3ed62927aa Merge pull request #4840 from 9rnsr/fix14836

--