[Issue 23234] Delegate literal with inferred return value that requires following alias-this uses class cast instead.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jul 13 09:43:48 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23234
--- Comment #5 from RazvanN <razvan.nitu1305 at gmail.com> ---
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.
--
More information about the Digitalmars-d-bugs
mailing list