clear result before throw exception if overload of fieldExp failed 71/16871/1
Antoine ELIAS [Tue, 21 Jul 2015 16:41:47 +0000 (18:41 +0200)]
Change-Id: I61448cb68d631491478b57e0dad8351bb2605678

scilab/modules/ast/src/cpp/ast/runvisitor.cpp

index 9e949db..0ba1f34 100644 (file)
@@ -249,6 +249,7 @@ void RunVisitorT<T>::visitprivate(const FieldExp &e)
         if (Ret != Callable::OK)
         {
             cleanInOut(in, out);
+            setResult(NULL);
             throw ScilabError();
         }