edit() no longer works for any user-defined function out of any library
Reported by Samuel GOUGEON (@sgougeon)
BUG DESCRIPTION:
----------------
Up to Scilab 5.5.2,
a) editing a user-defined macro out of any library was possible.
It is no longer the case with Scilab 6.0
b) editing a native macro overwritten by a user-defined function edited the native one.
It now yields an error
--> edit test
at line 38 of function edit ( SCI\modules\core\macros\edit.sci line 52 )
libraryinfo: Invalid library script.
--> edit linspace
at line 38 of function edit ( SCI\modules\core\macros\edit.sci line 52 )
libraryinfo: Invalid library script.
ERROR LOG:
----------
wrong behavior
HOW TO REPRODUCE THE BUG:
-------------------------
// a)
function a = test(b)
// bug test
a = b
endfunction
edit test
// b)
function a = linspace(b)
// bug test
a = b
endfunction
edit linspace