[Issue 19202] New: deprecated eponymous template prints no warning
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Aug 29 00:43:49 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=19202
Issue ID: 19202
Summary: deprecated eponymous template prints no warning
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: regression
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: elpenguino+D at gmail.com
```
void main() {
auto b = X!();
}
template X() {
deprecated enum X = true;
}
```
Since dmd 2.069, no warning is printed for this example.
--
More information about the Digitalmars-d-bugs
mailing list