[Issue 21856] Mutable base object returned as immutable from weakly pure function

2024-06-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21856 --- Comment #4 from Nick Treleaven --- (In reply to RazvanN from comment #2) > The safest and most restrictive solution would be to simply allow the > conversion only if the function is strongly pure, thus disallowing the > latter case, however, this

[Issue 21856] Mutable base object returned as immutable from weakly pure function

2024-06-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21856 Nick Treleaven changed: What|Removed |Added CC||n...@geany.org Summary|Implicit