[Issue 21377] Unclear error message "delegate __lambda cannot be struct members"

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21377 Iain Buclaw changed: What|Removed |Added Priority|P1 |P3 --

[Issue 21377] Unclear error message "delegate __lambda cannot be struct members"

2021-01-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21377 --- Comment #2 from bradley.cha...@gmail.com --- I have a sneaking suspicion that this may be slightly related to one of the underlying problems for https://issues.dlang.org/show_bug.cgi?id=21496 which is where templated types that contain a template

[Issue 21377] Unclear error message "delegate __lambda cannot be struct members"

2020-11-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21377 bradley.cha...@gmail.com changed: What|Removed |Added Hardware|x86_64 |All OS|Windows

[Issue 21377] Unclear error message "delegate __lambda cannot be struct members"

2020-11-10 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21377 --- Comment #1 from bradley.cha...@gmail.com --- Relevant quote from the forums: "The actual problem is that the compiler isn't able to figure out the type of the lambda you've provided. If you change the argument to `(string str)`, it'll work. The r