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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jul 23 21:45:53 UTC 2021


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@MoonlightSentinel created dlang/druntime pull request #3522 "Fix 22126 - Don't
print overlapped fields with -checkaction=context" fixing this issue:

- 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