[Issue 13423] Allow covariant assignment of lambda to delegate variable
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Sep 7 00:30:03 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13423
--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to hsteoh from comment #0)
> Code:
> ------
> void main() {
> void delegate(char) dg = (dchar) {};
> }
> ------
There is a parameter type mismatching 'char' and 'dchar'.
--
More information about the Digitalmars-d-bugs
mailing list