https://issues.dlang.org/show_bug.cgi?id=22325
Dlang Bot <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Dlang Bot <[email protected]> --- @pbackus created dlang/phobos pull request #8248 "Fix Issue 22325 - ReplaceType fails on templated type instantiated wi…" fixing this issue: - Fix Issue 22325 - ReplaceType fails on templated type instantiated with void-returning function Previously, when recursing into a type's template arguments, ReplaceTypeUnless would mistakenly attempt to evaluate a template alias parameter as an expression. In cases where the alias parameter was not a valid expression or could not be evaluated at compile time, this caused a compilation failure; in other cases, it caused ReplaceTypeUnless to give an incorrect result. This change makes ReplaceTypeUnless correctly treat template alias parameters as aliases. https://github.com/dlang/phobos/pull/8248 --
