Bug 10439 – Deprecate float.min, double.min, real.min, and later remove them

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-06-21T12:31:00Z
Last change time
2016-03-22T11:35:17Z
Keywords
pull
Assigned to
nobody
Creator
bearophile_hugs

Comments

Comment #0 by bearophile_hugs — 2013-06-21T12:31:43Z
void main() { auto x = double.min; } Compiling it normally or compiling it with -dw it prints nothing. Compiling it with -wi gives (dmd 2.064alpha): temp.d(2): Warning: min property is deprecated, use min_normal instead I suggest to make them really deprecated (so that code compiles only with -d or -dw), and later to turn them into an error.
Comment #1 by yebblies — 2013-11-21T03:42:13Z
Comment #2 by yebblies — 2013-11-21T18:30:13Z
Comment #3 by k.hara.pg — 2014-10-09T15:37:10Z
Comment #4 by github-bugzilla — 2014-10-10T00:42:27Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/b719b6f88819f3ba542b822e1b083aef974494c9 fix Issue 10439 - Deprecate float.min, double.min, real.min https://github.com/D-Programming-Language/dmd/commit/0e47db1fd51d81958c9e57714707fc8b3495e2b9 Merge pull request #4057 from 9rnsr/fix10439 Issue 10439 - Deprecate float.min, double.min, real.min
Comment #5 by k.hara.pg — 2014-10-10T03:20:42Z
Reopen until it's actually removed.
Comment #6 by github-bugzilla — 2015-02-18T03:38:17Z
Comment #7 by thomas.bockman — 2016-03-22T11:35:17Z
These have finally been removed by this PR, which was merged yesterday: https://github.com/D-Programming-Language/dmd/pull/5555