finishScopeParamInference

After semantic analysis of the function body, try to infer scope / return on the parameters

void
finishScopeParamInference

Parameters

funcdecl FuncDeclaration

function declaration that was analyzed

f TypeFunction

final function type. funcdecl.type started as the 'premature type' before attribute inference, then its inferred attributes are copied over to final type f

Meta