www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21998] New: checkaction=context should support basic types


          Issue ID: 21998
           Summary: checkaction=context should support basic types during
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: moonlightsentinel 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

Jun 06 2021