Thread overview
[Issue 21464] Superfluous module-level import affects attribute inference
Dec 10, 2020
Dlang Bot
Dec 10, 2020
Dlang Bot
Dec 20, 2020
Dlang Bot
December 10, 2020
https://issues.dlang.org/show_bug.cgi?id=21464

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

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

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@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

--
December 10, 2020
https://issues.dlang.org/show_bug.cgi?id=21464

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

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

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #12023 "[stable] Fix Issue 21464 - Purity check depending on semantic order" was merged into stable:

- 3c12cbcbe376652395266a0ae458302ff0b9def2 by Martin Kinkelin:
  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

--
December 20, 2020
https://issues.dlang.org/show_bug.cgi?id=21464

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #12040 "merge stable" was merged into master:

- d3091c204e698798ab58d443dd848e3db5759aa1 by Martin Kinkelin:
  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/12040

--