[Issue 6613] Can't use empty tuple as default value for variadic template function parameter

2015-06-17 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6613

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

https://github.com/D-Programming-Language/dmd/commit/37d633886a342c621ff4705428480f62cc5ab27a
fix Issue 6613 - Can't use empty tuple as default value for variadic template
function parameter

--


[Issue 6613] Can't use empty tuple as default value for variadic template function parameter

2015-04-17 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6613

--- Comment #4 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/37d633886a342c621ff4705428480f62cc5ab27a
fix Issue 6613 - Can't use empty tuple as default value for variadic template
function parameter

--


[Issue 6613] Can't use empty tuple as default value for variadic template function parameter

2015-04-17 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6613

github-bugzi...@puremagic.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--


[Issue 6613] Can't use empty tuple as default value for variadic template function parameter

2015-04-17 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6613
Issue 6613 depends on issue 2803, which changed state.

Issue 2803 Summary: template + default argument = doesn't work
https://issues.dlang.org/show_bug.cgi?id=2803

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--


[Issue 6613] Can't use empty tuple as default value for variadic template function parameter

2015-01-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6613

Kenji Hara  changed:

   What|Removed |Added

   Keywords||pull, rejects-valid

--- Comment #3 from Kenji Hara  ---
https://github.com/D-Programming-Language/dmd/pull/4261

--


[Issue 6613] Can't use empty tuple as default value for variadic template function parameter

2015-01-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6613
Issue 6613 depends on issue 13950, which changed state.

Issue 13950 Summary: [REG2.062] zero-length tuple does not work on function 
default argument
https://issues.dlang.org/show_bug.cgi?id=13950

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--


[Issue 6613] Can't use empty tuple as default value for variadic template function parameter

2015-01-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6613

Kenji Hara  changed:

   What|Removed |Added

 Depends on||13950, 2803

--- Comment #2 from Kenji Hara  ---
This is one of the case in issue 2803.
And from 2.062, it's also blocked by regression issue 13950.

--


[Issue 6613] Can't use empty tuple as default value for variadic template function parameter

2013-02-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6613


Andrej Mitrovic  changed:

   What|Removed |Added

 CC||andrej.mitrov...@gmail.com,
   ||k.hara...@gmail.com


--- Comment #1 from Andrej Mitrovic  2013-02-08 
18:01:40 PST ---
[internal note]: It seems Tuple!() is treated as a type when it's a default
argument (at least ExpInitializer::semantic seems to think so). But as a
variable initializer it works ok:

template Tuple(T...) { alias T Tuple; }
void main()
{
Tuple!() t = Tuple!();
}

CC'ing Kenji since he might be interested in this bug.

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