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


[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]


--- Comment #1 from [email protected] 2014-02-08 14:43:03 PST ---
Is it possible to generalize this to layz ranges? Currently this can't be
nothrow. Can it become nothrow using your suggestion?


void main() nothrow {
    string txt = "hello";
    foreach (dchar c; txt) {}
}


Currently it gives:

test.d(3): Error: '_aApplycd1' is not nothrow
test.d(1): Error: function 'D main' is nothrow yet may throw

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

Reply via email to