digitalmars.D.bugs - =?UTF-8?B?W0lzc3VlIDI0MDE3XSBOZXc6IFtDVEZFXSBCeXBhc3NpbmcgYG5v?=
- d-bugmail puremagic.com (20/20) Jun 27 2023 https://issues.dlang.org/show_bug.cgi?id=24017
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` } --
Jun 27 2023