https://issues.dlang.org/show_bug.cgi?id=16653
--- Comment #8 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/48398dbd0f42d258461332b619939e550be430de
fix issue 16653
https://issues.dlang.org/show_bug.cgi?id=16653
--- Comment #7 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/48398dbd0f42d258461332b619939e550be430de
fix issue 16653
https://issues.dlang.org/show_bug.cgi?id=16653
--- Comment #6 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/5febcef46617f15738e77e5e732ab9e37aa82649
better workaround for issue 16653, fix ketmar comment
https://issues.dlang.org/show_bug.cgi?id=16653
Adam D. Ruppe changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=16653
Ketmar Dark changed:
What|Removed |Added
CC|
/64ed49be5ab973a7d260b014dd39170a16ae37b1
Merge pull request #4977 from somzzz/issue_16653
fix issue 16653 - ParameterDefaultValueTuple fails to compile when function has
lazy param
--
https://issues.dlang.org/show_bug.cgi?id=16653
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=16653
--- Comment #2 from Lucia Cojocaru ---
PR with fix here: https://github.com/dlang/phobos/pull/4977
This works for me now:
import std.traits;
int main()
{
void f(lazy int x = 0) {}
pragma(msg,
https://issues.dlang.org/show_bug.cgi?id=16653
--- Comment #1 from Lucia Cojocaru ---
The cause of the issue is the way the template code is written in phobos:
https://github.com/dlang/phobos/blob/master/std/traits.d#L1225
It looks like this is expected for lazy
https://issues.dlang.org/show_bug.cgi?id=16653
Andrei Alexandrescu changed:
What|Removed |Added
CC||and...@erdani.com
10 matches
Mail list logo