fix Issue 10288 - Direct lambda call and purity inference bug
Immediately returns ErrorExp if an error occurs