checkParamArgumentReturn

Function argument initializes a return parameter, and that parameter gets assigned to firstArg. Essentially, treat as firstArg = arg;

bool
checkParamArgumentReturn

Parameters

sc
Type: Scope*

used to determine current function and module

firstArg

ref argument through which arg may be assigned

arg

initializer for parameter

gag
Type: bool

do not print error messages

Return Value

Type: bool

true if assignment to firstArg would cause an error

Meta