[Issue 19521] @safe typesafe_variadic_functions could cause memory corruption
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Apr 25 13:56:46 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=19521
RazvanN <razvan.nitu1305 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |razvan.nitu1305 at gmail.com
Resolution|--- |WORKSFORME
--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
Compiling the code now yields:
test.d(21): Deprecation: scope parameter `c` may not be returned
By using the compiler switch -dip1000 you get:
test.d(21): Error: scope parameter `c` may not be returned
So this seems to have been fixed. Closing as WORKSFORME.
--
More information about the Digitalmars-d-bugs
mailing list