mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 14:40:30 +03:00
Improve comment about issue 5710
This commit is contained in:
parent
79aee2d734
commit
4c85510313
1 changed files with 3 additions and 1 deletions
|
@ -502,7 +502,9 @@ if (fun.length >= 1)
|
||||||
alias _funs = staticMap!(unaryFun, fun);
|
alias _funs = staticMap!(unaryFun, fun);
|
||||||
alias _fun = adjoin!_funs;
|
alias _fun = adjoin!_funs;
|
||||||
|
|
||||||
// Once DMD issue #5710 is fixed, this validation loop can be moved into a template.
|
// Once https://issues.dlang.org/show_bug.cgi?id=5710 is fixed
|
||||||
|
// accross all compilers (as of 2020-04, it wasn't fixed in LDC and GDC),
|
||||||
|
// this validation loop can be moved into a template.
|
||||||
foreach (f; _funs)
|
foreach (f; _funs)
|
||||||
{
|
{
|
||||||
static assert(!is(typeof(f(RE.init)) == void),
|
static assert(!is(typeof(f(RE.init)) == void),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue