June 27, 2023 [Issue 24017] New: [CTFE] Bypassing `nothrow` with `debug` doesn’t work | ||||
---|---|---|---|---|
| ||||
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` } -- |
Copyright © 1999-2021 by the D Language Foundation