Skip to content

Commit

Permalink
Merge pull request #235 from refaktor/modwords
Browse files Browse the repository at this point in the history
added error reporting to callfunction
  • Loading branch information
refaktor committed Jun 5, 2024
2 parents 2eeeb8a + 8e367e2 commit 5a51b2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions evaldo/evaldo.go
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,7 @@ func CallFunction(fn env.Function, ps *env.ProgramState, arg0 env.Object, toLeft
result = EvalBlock(ps)
}
// }
MaybeDisplayFailureOrError(result, result.Idx)
if result.ForcedResult != nil {
ps.Res = result.ForcedResult
result.ForcedResult = nil
Expand Down

0 comments on commit 5a51b2e

Please sign in to comment.