[Issue 18148] New: Integral Promotion Fix For 16997 Should Not Issue Deprecation, Not A Warning
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Dec 31 00:26:24 UTC 2017
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 at puremagic.com
Reporter: jack at 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.
--
More information about the Digitalmars-d-bugs
mailing list