https://issues.dlang.org/show_bug.cgi?id=22325
Dlang Bot <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Dlang Bot <[email protected]> --- dlang/phobos pull request #8248 "Fix Issue 22325 - ReplaceType fails on templated type instantiated wi…" was merged into master: - 44257f132ca99a16a34e475f844e93e3822d231c by Paul Backus: 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 --
