fix inference without expressions
Merge remote-tracking branch 'origin/master'