Issue 10288 - Direct lambda call and purity inference bug

http://d.puremagic.com/issues/show_bug.cgi?id=10288

This is *really* necessary for creating temporary @trusted code block.