浏览代码

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;