Thread overview
[Issue 2803] template + default argument = doesn't work
Jul 13, 2014
Denis Shelomovskij
Jan 06, 2015
Kenji Hara
Jan 08, 2015
Kenji Hara
July 13, 2014
https://issues.dlang.org/show_bug.cgi?id=2803

Denis Shelomovskij <verylonglogin.reg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |verylonglogin.reg@gmail.com
           Hardware|x86                         |All
            Version|unspecified                 |D2

--- Comment #3 from Denis Shelomovskij <verylonglogin.reg@gmail.com> ---
Simplified testcase:
---
void fun(T)(T = 0) { }

void main() { fun(); }
---
main.d(3): Error: template main.fun cannot deduce function from argument types
!()(), candidates are:
main.d(1):        main.fun(T)(T = 0)
---

--
January 06, 2015
https://issues.dlang.org/show_bug.cgi?id=2803

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull, rejects-valid

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

--
January 08, 2015
https://issues.dlang.org/show_bug.cgi?id=2803

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |6613

--
April 18, 2015
https://issues.dlang.org/show_bug.cgi?id=2803

github-bugzilla@puremagic.com changed:

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

--
April 18, 2015
https://issues.dlang.org/show_bug.cgi?id=2803

--- Comment #5 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/766e4656c06ffddf0a4f6f4ce5a41d90207a2c57 fix Issue 2803 - template + default argument = doesn't work

https://github.com/D-Programming-Language/dmd/commit/596aef690e558e50db01c2abb7e31fbafdfa3d16 Merge pull request #4261 from 9rnsr/fix2803

Issue 2803 - template + default argument = doesn't work

--
June 17, 2015
https://issues.dlang.org/show_bug.cgi?id=2803

--- Comment #6 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/766e4656c06ffddf0a4f6f4ce5a41d90207a2c57 fix Issue 2803 - template + default argument = doesn't work

https://github.com/D-Programming-Language/dmd/commit/596aef690e558e50db01c2abb7e31fbafdfa3d16 Merge pull request #4261 from 9rnsr/fix2803

--