File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -480,14 +480,14 @@ a merged version of the condition values.
480
480
function conditioned (context:: AbstractContext )
481
481
return conditioned (NodeTrait (conditioned, context), context)
482
482
end
483
- conditioned (:: IsLeaf , context) = NamedTuple ()
483
+ conditioned (:: IsLeaf , context) = Dict {VarName,Any} ()
484
484
conditioned (:: IsParent , context) = conditioned (childcontext (context))
485
485
function conditioned (context:: ConditionContext )
486
486
# Note the order of arguments to `merge`. The behavior of the rest of DPPL
487
487
# is that the outermost `context` takes precendence, hence when resolving
488
488
# the `conditioned` variables we need to ensure that `context.values` takes
489
489
# precedence over decendants of `context`.
490
- return _merge (context. values, conditioned (childcontext (context)))
490
+ return _merge (to_varname_dict ( context. values) , conditioned (childcontext (context)))
491
491
end
492
492
function conditioned (context:: PrefixContext )
493
493
return conditioned (collapse_prefix_stack (context))
You can’t perform that action at this time.
0 commit comments