[Issue 17473] foreach on delegates incorrectly rejected

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17473 Stanislav Blinov changed: What|Removed |Added CC||stanislav.bli...@gmail.com --- Comment

[Issue 17473] foreach on delegates incorrectly rejected

2017-06-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17473 --- Comment #5 from Eyal --- (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

[Issue 17473] foreach on delegates incorrectly rejected

2017-06-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17473 ag0ae...@gmail.com changed: What|Removed |Added Keywords||rejects-valid CC|

[Issue 17473] foreach on delegates incorrectly rejected

2017-06-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17473 --- Comment #4 from Vladimir Panteleev --- Adding `ref` to `char a` fixes compilation, but it's still weird that `ref`'s presence is inconsistently needed. --

[Issue 17473] foreach on delegates incorrectly rejected

2017-06-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17473 --- Comment #3 from Vladimir Panteleev --- (In reply to Eyal from comment #2) > Perhaps you didn't pass -unittest? Yep, my bad --

[Issue 17473] foreach on delegates incorrectly rejected

2017-06-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17473 --- Comment #2 from Eyal --- (In reply to Vladimir Panteleev from comment #1) > Your example works here. Could you specify the compiler version and > compilation flags? dmd --version DMD64 D Compiler v2.074.0 Copyright (c) 1999-2017

[Issue 17473] foreach on delegates incorrectly rejected

2017-06-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17473 Vladimir Panteleev changed: What|Removed |Added CC|