fix test_run after https://codereview.scilab.org/#/c/16893/ 95/16895/1
authorAntoine ELIAS <antoine.elias@scilab-enterprises.com>
Mon, 27 Jul 2015 08:18:37 +0000 (10:18 +0200)
committerAntoine ELIAS <antoine.elias@scilab-enterprises.com>
Mon, 27 Jul 2015 08:18:43 +0000 (10:18 +0200)
commit6042efd42085f444357c2f08e71a1d6ff5f6072b
tree1612c6b2cbeabac84576dea40d3d1af1b67a5f68
parent41db7f80b2ca1794ca3637fbc6e618d6d7a90403
fix test_run after https://codereview.scilab.org/#/c/16893/

The check of extraction from empty variable ( [], {} or struct() )
must be done in extract function and not in checkIndexesArguments
to avoid disturbing insertion behaviour on empty variable.

Change-Id: I237a2f98f11fb27146b0773165c70ac5549cb558
scilab/modules/ast/src/cpp/types/arrayof.cpp
scilab/modules/ast/src/cpp/types/types_tools.cpp