semantic: Handle parameters in the parent of nested functions.