On Sunday, 17 March 2024 at 13:08:14 UTC, Richard (Rikki) Andrew Cattermole wrote: > It is because Hex is nested, it has an outer pointer to the > call frame of toHexString. > > Make Hex static, and it works. Not really. Have you ever tried? "abc äöü߀ D".toHexString.writeln;