Failing testcase: ``` import std.typecons; void foo() { static assert(is(ReplaceType!(int, float, int function(in long, ref const int)) == float function(in long, ref const float))); static assert(is(ReplaceType!(int, float, int function(long, in int*)) == float function(long, in float*))); } ``` Problem related to https://github.com/dlang/phobos/pull/7570
@JohanEngelen created dlang/phobos pull request #7937 "fix Issue 21801 - std.typecons.ReplaceType does not work for `in` parameters" fixing this issue: - fix Issue 21801 - std.typecons.ReplaceType does not work for `in` parameters See related: https://github.com/dlang/phobos/pull/7570 https://github.com/dlang/phobos/pull/7937
dlang/phobos pull request #7937 "fix Issue 21801 - std.typecons.ReplaceType does not work for `in` parameters" was merged into stable: - a3261ccb0d238f0ef5fc19fe8d2eab4fcfac0c4c by Johan Engelen: fix Issue 21801 - std.typecons.ReplaceType does not work for `in` parameters See related: https://github.com/dlang/phobos/pull/7570 https://github.com/dlang/phobos/pull/7937
dlang/phobos pull request #8012 "merge stable" was merged into master: - b8cdef5ffcc3e9c9c65df27387247d53629cf2df by Johan Engelen: fix Issue 21801 - std.typecons.ReplaceType does not work for `in` parameters See related: https://github.com/dlang/phobos/pull/7570 https://github.com/dlang/phobos/pull/8012