checkNamedArguments wrongly returns varargout (2023.1.0)
Bug Description
checkNamedArguments() should return [] at the begining of a function if all input arguments are correctly named. But if the output argument is "varargout", checkNamedArguments() returns "varargout" instead of [].
Example :
function [varargout] = f(x, y)
disp(checkNamedArguments());
endfunction
f(1, 2)
[] should be printed. Instead "varargout" is printed