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

Dlang Bot <[email protected]> changed:

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

--- Comment #1 from Dlang Bot <[email protected]> ---
@kinke created dlang/dmd pull request #12023 "[stable] Fix Issue 21464 - Purity
check depending on semantic order" fixing this issue:

- Fix Issue 21464 - Purity check depending on semantic order

  Accessing a mutable static but empty struct is pure. The check relied
  on `StructDeclaration.hasNoFields` but didn't make sure the struct
  size has already been determined.

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

--

Reply via email to