[Issue 12170] sum(double[]) is not pure nothrow

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 15 06:43:28 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12170


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|sum(double[]) is not pure   |sum(double[]) is not pure
                   |                            |nothrow


--- Comment #2 from bearophile_hugs at eml.cc 2014-02-15 06:43:26 PST ---
Yes, the same happens with nothrow:


void main() nothrow {
    import std.algorithm: sum;
    [1.0].sum;
}

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


More information about the Digitalmars-d-bugs mailing list