|
@@ -2863,7 +2863,7 @@ void HqlCppTranslator::buildExpr(BuildCtx & ctx, IHqlExpression * expr, CHqlBoun
|
|
doBuildExprEvaluate(ctx, expr, tgt);
|
|
doBuildExprEvaluate(ctx, expr, tgt);
|
|
return;
|
|
return;
|
|
case no_thor:
|
|
case no_thor:
|
|
- throwUnexpected();
|
|
|
|
|
|
+ throwUnexpectedX("THOR() annotation created in a scalar context");
|
|
// assertex(expr->queryType()->isScalar());
|
|
// assertex(expr->queryType()->isScalar());
|
|
// buildExpr(ctx, expr->queryChild(0), tgt);
|
|
// buildExpr(ctx, expr->queryChild(0), tgt);
|
|
return;
|
|
return;
|