Handle recursive calls of FuncDeclaration::toSymbol.
Fix-up passing chain between nested classes/structs.