Bug Fixes
-
keep erased errors visible to source-iteration and downcasting
Since 499402c, erasing an Exn wraps its error in the Untyped marker so that
the typed accessors of Exn keep working. However, the marker also hid
the original error from everything that walks the error afterwards: frames now
yielded the marker, which cannot be downcast to the original type, and whose
empty Error implementation cut off the source chain below it.This broke gix diff file, whose fallback for treating a revspec as a path on
disk downcasts the sources() of a failed rev-parse to find the ref-not-found
error - it would now fail with "couldn't parse revision" instead.
Commit Statistics
- 4 commits contributed to the release.
- 50 days passed between releases.
- 1 commit was understood as conventional.
- 1 unique issue was worked on: #2694