Handle forwarded functions properly (based on a patch by Francois
Gouget).

3 files changed