Analyze return argument, even when not in a function

Other code expects it to be analyzed.

Closes #36