Skip to content

Draft: Fix #16940 again

Stéphane MOTTELET requested to merge mottelet/scilab:fix_16940_again into main

%l_string() and %st_string() had to be defined. However, code factorization with %l_p() and %st_p() would be desirable, but is impossible because of #17121. %cell_string() should be also defined be cause it is used now in error messages of assert_checkequal() when using cells:

--> assert_checkequal({2},{4})
in builtin                string            
at line   133 of function assert_checkequal ( /Users/mottelet/Desktop/scilab-2023.0.0.app/Contents/share/scilab/modules/development_tools/macros/assert/assert_checkequal.sci line 145 )

Function not defined for given argument type(s),
  check arguments or define function %ce_string for overloading.
Edited by Stéphane MOTTELET

Merge request reports