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


bearophile_h...@eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #2 from bearophile_h...@eml.cc 2012-04-24 19:15:02 PDT ---
import std.string, std.stdio;
void main() nothrow {
    const string s = "foAo5x";
    auto s2 = removechars(s, "^A-Z");
}


With dmd 2.060alpha it gives:
test.d(4): Error: removechars is not nothrow
test.d(2): Error: function D main 'main' is nothrow yet may throw


So removechars is not nothrow, but the main problem is fixed, so I close this
issue.

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

Reply via email to