[Issue 21546] ref returning delegate circumvents immutable (@safe won't help)

2022-02-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21546

Walter Bright  changed:

   What|Removed |Added

 CC||bugzi...@digitalmars.com

--- Comment #1 from Walter Bright  ---
This reveals a bug in the covariant return checks when ref returns are
involved.

--


[Issue 21546] ref returning delegate circumvents immutable (@safe won't help)

2021-01-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21546

Bolpat  changed:

   What|Removed |Added

   Keywords||accepts-invalid, safe
 CC||qs.il.paperi...@gmail.com

--