[Issue 24582] Detect unsafe `cast(bool[])`

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jun 13 09:23:40 UTC 2024


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

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #16558 "Fix Bugzilla 24582 - Detect unsafe
`cast(bool[])`" was merged into master:

- 04bd8b21ee11f7ab16d8dc97c28a5b37365db89f by Nick Treleaven:
  Fix Bugzilla 24582 - Detect unsafe `cast(bool[])`

  Allow literal cast

  Make deprecation

  Add specific supplemental message

https://github.com/dlang/dmd/pull/16558

--


More information about the Digitalmars-d-bugs mailing list