0110: Function must return N values
Previous0109: Expected variables to store function resultNext0111: Function not found in current scope
Last updated
Last updated
Compiler found that number of values in return statement does not match . It can happen if return
has more or fewer values.
For example, if function has not declared any return type, it's incorrect to return values from it:
Similarly, it is incorrect to return nothing, when the function has declared a return type:
check a number of returned values following a return
keyword. Make sure this number matches the number of return types declared in the function's signature
if the function may, under some condition, return nothing (), its return type must be prepended with an optional
keyword: