Errors not well handled in overloaded functions
Reported by Alain Lamy
BUG DESCRIPTION:
----------------
Errors are not well handled in overloaded functions.
ERROR LOG:
----------
===========================
With Scilab 6-b1: => NOT OK : error message not printed
===========================
--> x(1)
Test!
at line 3 of function %XXX_e
Function not defined for given argument type(s),
check arguments or define function %l_e for overloading.
===========================
With Scilab 5.5.2: => OK)
===========================
-->x(1)
Test!
!--error 10000
ERROR
at line 3 of function %XXX_e called by :
x(1)
HOW TO REPRODUCE THE BUG:
-------------------------
x = mlist(["XXX","val"], 0);
function [x2] = %XXX_e(I, x1)
disp("Test!");
error("ERROR");
endfunction
x(1)
OTHER INFORMATION:
------------------