[Issue 23965] [REG2.101.0] Appending deprecated structs in deprecated function causes deprecation message

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 13 06:50:38 UTC 2023


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

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

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

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@teodutu updated dlang/dmd pull request #15315 "Fix Issue 23959 - Propagate
deprecation to `_d_arrayappendcTXImpl` if the calling scope is deprecated"
fixing this issue:

- Fix Issue 23965 - Propagate deprecation to `_d_arrayappendcTXImpl` if the
calling scope is deprecated

  This is needed if the lowered expression (`arr ~= elem`) is made within
  a deprecated context to avoid spurious deprecation messages about the
  hook being emitted.

  Signed-off-by: Teodor Dutu <teodor.dutu at gmail.com>

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

--


More information about the Digitalmars-d-bugs mailing list