[Issue 17473] foreach on delegates incorrectly rejected

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jun 7 15:04:35 PDT 2017


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

--- Comment #5 from Eyal <eyal at weka.io> ---
(In reply to Vladimir Panteleev from comment #4)
> Adding `ref` to `char a` fixes compilation, but it's still weird that
> `ref`'s presence is inconsistently needed.

It also changes the meaning of the program in an undesired way.

--


More information about the Digitalmars-d-bugs mailing list