This commit is contained in:
Antonis Geralis 2022-08-26 22:00:13 +03:00
parent cc6c04b9e6
commit 539b60661e
1 changed files with 1 additions and 1 deletions

View File

@ -515,8 +515,8 @@ template mutatorImpl(target, mutator, typ: untyped) =
try:
FuzzTarget(target)(getInput(x, data))
finally:
# Call Nim's compiler api to report unhandled exceptions. See: Nim#18215
when compileOption("exceptions", "goto"):
# Call Nim's compiler api to report unhandled exceptions.
{.emit: "nimTestErrorFlag();".}
proc customMutatorImpl(x: var typ; data: openArray[byte]; maxLen: int;