Make initial inferences from parameterless function expressions

With this PR parameterless function expressions are not considered context sensitive and are therefore included in the initial round of type argument inference.

Fixes #1185.