[Issue 24442] [DIP1000] struct member slice cannot point to other struct member

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Mar 20 21:54:19 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=24442

--- Comment #2 from johanengelen at weka.io ---
Thanks for the reminder...
Interior pointers are necessary for certain data structures (e.g. short-string
optimized dynamic-length strings), so it'd be nice when the error message would
tell the user that interior pointers are not @safe.
The current error message reads like a bug in the compiler, imo.

--


More information about the Digitalmars-d-bugs mailing list