Skip to content

Commit a407d4e

Browse files
committed
Delay popping vist because error printer had incomplete node traversel info
1 parent cafbe2f commit a407d4e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

core/inputs.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,11 +362,12 @@ func (n *Inputs) InputValueById(ec *ExecutionState, host NodeWithInputs, inputId
362362

363363
ec.PushNodeVisit(dataSource.SrcNode, false)
364364
v, err := dataSource.SrcNodeOutputs.OutputValueById(ec, OutputId(outputCacheId))
365-
ec.PopNodeVisit()
366365
if err != nil {
367366
return nil, err
368367
}
369368

369+
ec.PopNodeVisit()
370+
370371
// handle slice indexing
371372
if dataSource.SrcIndexOutputInfo != nil {
372373
slice := reflect.ValueOf(v)

0 commit comments

Comments
 (0)