[Issue 22746] New: Functions that throws marked as nothrow produces bad error
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Feb 7 23:50:57 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=22746
Issue ID: 22746
Summary: Functions that throws marked as nothrow produces bad
error
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: contact at lsferreira.net
Currently:
```
Error: `nothrow` function `foo` may throw
```
But should produce the following:
```
Error: function `foo` may throw but is marked as `nothrow`
```
--
More information about the Digitalmars-d-bugs
mailing list