Ver código fonte

Fix internal assert on (obscure) side-effects in workflow

Remove redundant internal error.  I'm not sure why this line was there
since the following code was correct.  It could be triggered by an
expression with an implicit side-effect (e.g., a preceeding output)
used in a SEQUENTIAL which also happened to be dependent on some
other worflow actions.
(See example awrobel.eclxml in private regression suite.)

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday 13 anos atrás
pai
commit
2b24ba33fa
1 arquivos alterados com 0 adições e 1 exclusões
  1. 0 1
      ecl/hqlcpp/hqlttcpp.cpp

+ 0 - 1
ecl/hqlcpp/hqlttcpp.cpp

@@ -6178,7 +6178,6 @@ IHqlExpression * WorkflowTransformer::transformRootAction(IHqlExpression * expr)
     switch (op)
     switch (op)
     {
     {
     case no_compound:
     case no_compound:
-        throwUnexpected();
         if (expr->isAction())
         if (expr->isAction())
             return createCompoundWorkflow(expr);
             return createCompoundWorkflow(expr);
         break;
         break;