From 6a0065a3e88c928daf76c77535d454395dd0b5e7 Mon Sep 17 00:00:00 2001 From: Mohammed Ibrahim Date: Mon, 29 Apr 2024 23:29:05 -0400 Subject: [PATCH] Fix Element extraction (#2814) Fix Element extraction --- .../resources/core_hostedservice/generation/generation.pure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/legend-engine-xts-hostedService/legend-engine-xt-hostedService-pure/src/main/resources/core_hostedservice/generation/generation.pure b/legend-engine-xts-hostedService/legend-engine-xt-hostedService-pure/src/main/resources/core_hostedservice/generation/generation.pure index 7284ea2de94..602dbb3fcb8 100644 --- a/legend-engine-xts-hostedService/legend-engine-xt-hostedService-pure/src/main/resources/core_hostedservice/generation/generation.pure +++ b/legend-engine-xts-hostedService/legend-engine-xt-hostedService-pure/src/main/resources/core_hostedservice/generation/generation.pure @@ -178,7 +178,8 @@ function meta::external::function::activator::hostedService::generation::getExec |$s->evaluateAndDeactivate().parametersValues->filter(x| $x.genericType.rawType->toOne()==ExecutionEnvironmentInstance)->map(pv| $pv->match([ s:SimpleFunctionExpression[1]| $s->reactivate()->toOne();, - e: ExecutionEnvironmentInstance[1]| $e + i:InstanceValue[1]| $i.values->toOne();, + e: ExecutionEnvironmentInstance[1]| $e ]));, |$s->reactivate()->toOne() );,