[Issue 20339] isPOD returns true if sizeof is accessed inside struct declaration

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Oct 31 13:54:29 UTC 2019


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

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

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

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@SSoulaimane updated dlang/dmd pull request #10519 "Fix issue 20339 -
recalculate isPOD at the end of semantic analysis" fixing this issue:

- Fix issue 20339 - Defer isPOD and argtypes calculation till the end of
semantic analysis

  In addition to incorrect results being returned, the ABI is affected with
regards to argument passing.

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

--


More information about the Digitalmars-d-bugs mailing list