FirDeclarationsResolveTransformer.transformSimpleFunction() performs proper local function analysis only if the parent is properly set. ^KTIJ-26608 Fixed