https://issues.dlang.org/show_bug.cgi?id=20634
Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> --- @ntrel created dlang/dmd pull request #15581 "Allow using .ptr in @safe code when pointer is safe to dereference" fixing this issue: - Fix Issue 20634 - @safe forces bounds checking on newly allocated array when using .ptr Also allow for any string literal. https://github.com/dlang/dmd/pull/15581 --