[Issue 23497] Erroneous escape reference to parameter error.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Nov 20 14:20:45 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23497
--- Comment #2 from deadalnix <deadalnix at gmail.com> ---
No, it's nonsense, and no reference to _error is going to escape. _error is a
pointer, and it is returned by value. What escapes is a reference to the class
instance _error points toward.
Also, the in contract is somehow needed for the error to trigger, so
something's not right either way.
--
More information about the Digitalmars-d-bugs
mailing list