Improve comment about issue 5710

This commit is contained in:
Geod24 2020-04-12 22:47:22 +09:00
parent 79aee2d734
commit 4c85510313

View file

@ -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),