[Issue 10439] New: Deprecate float.min, double.min, real.min, and later remove them

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 21 12:31:44 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10439

           Summary: Deprecate float.min, double.min, real.min, and later
                    remove them
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc


--- Comment #0 from bearophile_hugs at eml.cc 2013-06-21 12:31:43 PDT ---
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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list