Thread overview
[Issue 23965] [REG2.101.0] Appending deprecated structs in deprecated function causes deprecation message
Jun 09, 2023
Teodor Dutu
Jun 13, 2023
Dlang Bot
Jun 19, 2023
Dlang Bot
Jul 02, 2023
Dlang Bot
June 09, 2023
https://issues.dlang.org/show_bug.cgi?id=23965

Teodor Dutu <teodor.dutu@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |teodor.dutu@gmail.com
           Assignee|nobody@puremagic.com        |teodor.dutu@gmail.com

--
June 13, 2023
https://issues.dlang.org/show_bug.cgi?id=23965

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

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

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

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

--
June 19, 2023
https://issues.dlang.org/show_bug.cgi?id=23965

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 #15315 "Fix Issue 23965 - Disable deprecation checks for DRuntime hooks" was merged into stable:

- 5a722cd8dd92523470fc9a03aaf03c6e9fd49e44 by Teodor Dutu:
  Fix Issue 23965 - Disable deprecation checks for DRuntime hooks

  Lowerings to runtime hooks can be made from deprecated contexts, which
  results in incorrect deprecation messages of the deprecated context
  calling an undeprecated hook. Since hooks aren't going to be deprecated,
  this check may be disabled.

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

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

--
July 02, 2023
https://issues.dlang.org/show_bug.cgi?id=23965

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

- b358cebfa64f3bab300f549883dc703a2f55d6a4 by Teodor Dutu:
  Fix Issue 23965 - Disable deprecation checks for DRuntime hooks (#15315)

  Lowerings to runtime hooks can be made from deprecated contexts, which
  results in incorrect deprecation messages of the deprecated context
  calling an undeprecated hook. Since hooks aren't going to be deprecated,
  this check may be disabled.

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

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

--