Skip to content

Commit

Permalink
update col let expression
Browse files Browse the repository at this point in the history
  • Loading branch information
AFine-gs committed Nov 19, 2024
1 parent e07b6e4 commit d915182
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,8 @@ function <<access.private>> meta::pure::lineage::scanRelations::generatRelationa
let inScopeVars = $a->keyValues();
let unavailableVars = $varExprs.name->forAll(var | $var->in($inScopeVars.first));
assert($unavailableVars, 'Unable to resolve var(s): '+ $varExprs.name->filter(var | !$var->in($inScopeVars.first))->joinStrings());
let value = if($vs.genericType.rawType->toOne()->instanceOf(PrimitiveType),

let value = if($vs.genericType.rawType->toOne()->instanceOf(PrimitiveType) && !$vs->cast(@SimpleFunctionExpression).parametersValues->at(1)->instanceOf(InstanceValue),
| ^PlanVarPlaceHolder(name=$varName->toOne(), type = $vs.genericType.rawType->toOne(), multiplicity=$vs.multiplicity),
| $vs->reactivate($a);
);
Expand Down

0 comments on commit d915182

Please sign in to comment.