[Issue 20989] Checking array.ptr causes safety error with -checkaction=context
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jul 9 21:25:59 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=20989
--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #11400 "merge stable" was merged into master:
- 95be29f324c6eb655ff93807102120d7d5c80ee5 by MoonlightSentinel:
Fix Issue 20989 - Checking array.ptr causes safety error ...
... with -checkaction=context.
Explicity flag `DotIdExpressions` as `noderef` because `_d_assert_fail` will
not dereference the pointer and thus make the call `@safe`.
https://github.com/dlang/dmd/pull/11400
--
More information about the Digitalmars-d-bugs
mailing list