extract with ImplicitList fixed
[scilab.git] / scilab / modules / ast / tests / unit_tests / implicitlist.dia.ref
index c94e234..da4f7b5 100644 (file)
@@ -101,3 +101,6 @@ checkCallOverload("t:2:8");
 checkCallOverload("1:t:%t");
 checkCallOverload("1:t:8");
 assert_checkerror("1:2:t", [], 10000);
+// extraction
+assert_checkerror("vect=1:3;vect(1:4)", gettext("Invalid index."));
+assert_checkerror("vect=1:3;vect(4:-1:1)", gettext("Invalid index."));