fix Issue 13746 - formatValue of delegates

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