Commit graph

4 commits

Author SHA1 Message Date
Dennis
9b94878c85
Make safe error messages consistent (#20654)
Co-authored-by: Dennis Korpel <dennis@sarc.nl>
2025-01-08 13:46:38 +08:00
Nick Treleaven
5058aa95fe Fix Bugzilla 24630 - Casting a bool pointer to a mutable pointer type is unsafe 2024-06-26 01:05:08 +02:00
Nick Treleaven
e96efa0db1 Tweak message for unsafe cast to bool array/pointer
Add test for cast to `bool*`.
See https://issues.dlang.org/show_bug.cgi?id=24582.
2024-06-23 15:08:31 +02:00
Nick Treleaven
23e6712446
Fix Bugzilla 24582 - Detect unsafe cast(bool[]) (#16558)
Allow literal cast

Make deprecation

Add specific supplemental message
2024-06-13 11:23:34 +02:00