https://issues.dlang.org/show_bug.cgi?id=20848
Dlang Bot <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Dlang Bot <[email protected]> --- dlang/phobos pull request #7556 "Fix issue 20848: format should work with immutable(void)[]" was merged into master: - 7cc61dda2ce197c44fbb6d505f31d81e654f5054 by H. S. Teoh: Fix issue 20848: format should work with immutable(void)[] The bug is that if `T == immutable(void)[]`, then `const(T)` does not collapse to `const(void[])`, but is actually `const(immutable(void)[])`. So a strict type equality check will fail. However, `const(T)` *is* implicitly convertible to `const(void[])`, which serves our purpose just as well. So just use that check instead. https://github.com/dlang/phobos/pull/7556 --
