HPCC-9975 Evaluate(module) does not like enum Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
@@ -4204,6 +4204,7 @@ IHqlExpression * ModuleExpander::createExpanded(IHqlExpression * scopeExpr, IHql
switch (value->getOperator())
{
case no_typedef:
+ case no_enum:
op = no_none;
break;
}
@@ -0,0 +1,12 @@
+x := module
+
+ export e := enum(a,b,c);
+ export t := unsigned2;
+ export pattern p := 'h';
+ export r:= { unsigned id; };
+ export f(unsigned i) := i * 10;
+ export hello(string who = 'world') := 'hello ' + who;
+end;
+output(x);