Emit valid HHAS for returning functions. See examples/calc.go