fix Issue 11542 - scope(failure) messes up nothrow checking