https://issues.dlang.org/show_bug.cgi?id=19769

berni44 <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from berni44 <[email protected]> ---
The problem here is, that asCapitalized returns a struct (ToCapitalizerImpl,
which is a range), but the overload of formatValueImpl for structs (instead of
ranges or the more expected strings) is choosen for printing. This wrong
formatValueImpl tries to print all members of the struct, including the
uninitialized ones.

--

Reply via email to