Don't panic if there are no return values in a function type.

Fixes #118.