Issue 9831 - Error message with failed lambda inference

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