Le 21/07/2019 à 22:27, Samuel Gougeon a écrit :

Hello,

I am facing some very  serious issue. It is so trivial and surprising that i am wondering if this blocking behavior is intentional, and if yes why and how to by-pass it if possible:

--> clear File, clearglobal File
--> function test(), jimport java.io.File, disp(File), endfunction
--> test() // OK
class java.io.File
--> File
Undefined variable: File // So the File class is local. It is not returned to the caller, from the Scilab point of view.
--> File = 1;
--> test()
at line     1 of function test
jimport: An error occurred: A variable with this name is already existing


This is now reported as the blocking bug 16165 <http://bugzilla.scilab.org/show_bug.cgi?id=16165>.


_______________________________________________
dev mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/dev

Reply via email to