i wonder why functiondecl is not emitted