[Issue 24654] Parameters in contracts should be `const`
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jul 9 16:01:57 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24654
Nick Treleaven <nick at geany.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nick at geany.org
--- Comment #1 from Nick Treleaven <nick at geany.org> ---
The problem with requiring const for out parameters is that the return type
might not convert to const if it has mutable indirections.
--
More information about the Digitalmars-d-bugs
mailing list