digitalmars.D.bugs - [Issue 18148] New: Integral Promotion Fix For 16997 Should Not Issue
- d-bugmail puremagic.com (23/23) Dec 30 2017 https://issues.dlang.org/show_bug.cgi?id=18148
https://issues.dlang.org/show_bug.cgi?id=18148 Issue ID: 18148 Summary: Integral Promotion Fix For 16997 Should Not Issue Deprecation, Not A Warning Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: critical Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: jack jackstouffer.com We've had this discussion before on the forums but I think it needs to be restated: Using a warning as part of the deprecation cycle is a poor choice because the majority of build setups (including DUB) have "warnings as errors" set by default (this is the sensible thing to do). This means that you're breaking people's code on step one of the cycle. Instead, this should issue a deprecation message, then a warning, then an error. --
Dec 30 2017