[Issue 22126] -checkaction=context should not print overlapped struct members

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jul 24 00:38:10 UTC 2021


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

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

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

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/druntime pull request #3522 "Fix 22126 - Don't print overlapped fields
with -checkaction=context" was merged into master:

- 9b3989c827984e8f4f9acd253071d80ce24fe5e2 by MoonlightSentinel:
  Fix 22126 - Don't print overlapped fields with -checkaction=context

  Detect overlapped fields by checking the offsets of adjacent members.
  Those are replaced by a placeholder because we cannot determine wich
  of the overlapped fields is valid (if any).

https://github.com/dlang/druntime/pull/3522

--


More information about the Digitalmars-d-bugs mailing list