https://issues.dlang.org/show_bug.cgi?id=23234
--- Comment #5 from RazvanN <[email protected]> --- Actually, looking at the internals, it seems that what should the compiler do is actually cast the entire delegate to `Bar delegate()` not the innards of the delegate. --
