[Issue 24469] non-constant nested delegate literal expression - Error on delegates causing memory corruption

2024-03-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24469 kinke changed: What|Removed |Added Severity|critical|regression --- Comment #3 from kinke --- Oh and

[Issue 24469] non-constant nested delegate literal expression - Error on delegates causing memory corruption

2024-03-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24469 kinke changed: What|Removed |Added CC||ki...@gmx.net --- Comment #2 from kinke --- Full

[Issue 24469] non-constant nested delegate literal expression - Error on delegates causing memory corruption

2024-03-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24469 --- Comment #1 from Marcelo Silva Nascimento Mancini --- I was able to reduce the bug: ```d struct ExistenceChecker { ///Optional. bool delegate() checkExistenceFn; } ExistenceChecker makeExistenceChecker(string gemName) { return