[Issue 21998] New: checkaction=context should support basic types during CTFE
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jun 6 17:25:59 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21998
Issue ID: 21998
Summary: checkaction=context should support basic types during
CTFE
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: druntime
Assignee: nobody at puremagic.com
Reporter: moonlightsentinel at disroot.org
Formatting for basic types doesn't work during CTFE because the implementation
calls into external functions which cannot be evaluated.
For example, assert(1 == 2) aborts with `sprintf cannot be evaluated at compile
time`.
--
More information about the Digitalmars-d-bugs
mailing list