Issue 10289 - compiler should infer nothrow even if Error is thrown

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