June 27, 2023
https://issues.dlang.org/show_bug.cgi?id=24017

          Issue ID: 24017
           Summary: [CTFE] Bypassing `nothrow` with `debug` doesn’t work
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: ogion.art@gmail.com

import std.stdio;
void main() nothrow {
    debug writeln("Hello"); // Works
    debug "Hello".writeln;  // Error: function
`std.stdio.writeln!string.writeln` is not `nothrow`
}

--