Skip to content

Commit

Permalink
Fix a multiplicity issue in some paramaters of an 'eval' call within …
Browse files Browse the repository at this point in the history
…preeval (#2903)
  • Loading branch information
pierredebelen authored Jun 12, 2024
1 parent 31cec96 commit e69054f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Class meta::pure::router::preeval::State
path : FunctionDefinition<Any>[*];

shouldInlineFxn : FunctionDefinition<{Function<Any>[1] -> Boolean[1]}>[1];
stopPreeval : Function<{Any[1] -> Boolean[1]}>[1];
stopPreeval : Function<{Any[*] -> Boolean[1]}>[1];

toString() { $this->simpleToString() }:String[1];
}
Expand Down Expand Up @@ -805,9 +805,9 @@ function <<access.public>> meta::pure::router::preeval::defaultFunctionInlineStr
|| (!meta::pure::router::routing::shouldStop($f, $extensions) && !($f->instanceOf(NativeFunction)))}
}

function <<access.public>> meta::pure::router::preeval::defaultPreevalStopStrategy(extensions:Extension[*]) : FunctionDefinition<{Any[1]->Boolean[1]}>[1]
function <<access.public>> meta::pure::router::preeval::defaultPreevalStopStrategy(extensions:Extension[*]) : FunctionDefinition<{Any[*]->Boolean[1]}>[1]
{
{a:Any[1] | stopPreeval($a, $extensions)};
{a:Any[*] | stopPreeval($a, $extensions)};
}

function meta::pure::router::preeval::getPreevalStateWithAdditionalStopInlineFunc(inScopeVars:Map<String, List<Any>>[1], extensions:meta::pure::extension::Extension[*], stopInlineFunctions:Function<Any>[*]):meta::pure::router::preeval::State[1]
Expand Down

0 comments on commit e69054f

Please sign in to comment.