yaes: `Raise.catching` ignores exceptions that are subclasses of the target type

Fixed · low · API-contract bug

If E is RuntimeException, the catch compares exception classes with ==, so an ArithmeticException escapes as a raw exception. The catch works when the exception class is E itself.

Found: ; reported: ; status since: . Reporter: Mike Murunov

Page for this report · Public report · Fix or proposed fix (see status)

Good catch! @haskiindahouse, I assign it to you 🚀

Open in the showcase. Record generated .