Thread overview
[Issue 21998] checkaction=context should support basic types during CTFE
Jun 06, 2021
Dlang Bot
Jun 07, 2021
Dlang Bot
Dec 17, 2022
Iain Buclaw
June 06, 2021
https://issues.dlang.org/show_bug.cgi?id=21998

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@MoonlightSentinel created dlang/druntime pull request #3494 "Issue 21998 - Support formatting of integrals during CTFE with..." mentioning this issue:

- Issue 21998 - Support formatting of integrals during CTFE with...

  ... checkaction=context.

  Use Druntime's internal implementation instead of LibC because it's
  ctfe'able.

https://github.com/dlang/druntime/pull/3494

--
June 07, 2021
https://issues.dlang.org/show_bug.cgi?id=21998

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/druntime pull request #3494 "Issue 21998 - Support more types during CTFE with checkaction=context" was merged into master:

- f2d2d623451912b8f85caf5d5eda1cf8b7ac4621 by MoonlightSentinel:
  Issue 21998 - Support formatting of integrals during CTFE with...

  ... checkaction=context.

  Use Druntime's internal implementation instead of LibC because it's
  ctfe'able.

- cfe0442debde0b993d2691609106e16eba62530c by MoonlightSentinel:
  Issue 21998 - Support formatting of pointers during CTFE with...

  ... checkaction=context.

  Use Druntime's internal implementation instead of LibC because it's
  ctfe'able.

- 1de04fc8529b80e254a7b22507c039dfe628d901 by MoonlightSentinel:
  Issue 21998 - Support formatting of shared values during CTFE with...

  ... checkaction=context.

  Skip `atomicLoad` during CTFE, it's single threaded anyways.

- 5d5f5683bc181b00c008f3ec68f093b3c43e4cf3 by MoonlightSentinel:
  Issue 21998 - Skip formatting of FPN's during CTFE with...

  ... -checkaction=context.

  An embedded warning about an unsupported type is better than the entire
  assertion failure being hidden by `Cannot evaluate *** at compile time`.

- 2b5d52de8e820ec1cb6eb92619b124e741234444 by MoonlightSentinel:
  Issue 21998 - Support formatting of invalid enum values during CTFE

  ... with checkaction=context.

  Don't reinterpreting cast during CTFE.

- b5c3ec8a285e3498f51934d46aad68dff13e1b06 by MoonlightSentinel:
  Issue 21998 - Skip formatting of void[] during CTFE with...

  ... -checkaction=context.

  An embedded warning about an unsupported type is better than the entire
  assertion failure being hidden by `Cannot cast ... at compile time`.

https://github.com/dlang/druntime/pull/3494

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=21998

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--