emit-local: fix for un-named fns