Преглед изворни кода

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 година
родитељ
комит
2b24ba33fa
1 измењених фајлова са 0 додато и 1 уклоњено
  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;