https://d.puremagic.com/issues/show_bug.cgi?id=12113
bearophile_h...@eml.cc changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bearophile_h...@eml.cc --- Comment #1 from bearophile_h...@eml.cc 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: -------