diff options
| author | Cody Tapscott <topolarity@tapscott.me> | 2022-09-23 11:50:55 -0700 |
|---|---|---|
| committer | Cody Tapscott <topolarity@tapscott.me> | 2022-10-21 11:22:49 -0700 |
| commit | b529d8e48f2082c4e8df10d0ff26e2c7702bb693 (patch) | |
| tree | 4e38a63b1c75b1ae1db0660c918afa0fedb56bbe /lib | |
| parent | 77720e30aaead1c814f2714bd5a7ad7ad0fbc23e (diff) | |
| download | zig-b529d8e48f2082c4e8df10d0ff26e2c7702bb693.tar.gz zig-b529d8e48f2082c4e8df10d0ff26e2c7702bb693.zip | |
stage2: Propagate error return trace into fn call
This change extends the "lifetime" of the error return trace associated
with an error to include the duration of a function call it is passed
to.
This means that if a function returns an error, its return trace will
include the error return trace for any error inputs. This is needed to
support `testing.expectError` and similar functions.
If a function returns a non-error, we have to clean up any error return
traces created by error-able call arguments.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
