fixed go statement for named func types (fixes #74)