stacks-network / clarity-wasm

`clar2wasm` is a compiler for generating WebAssembly from Clarity.
GNU General Public License v3.0
14 stars 16 forks source link

do not panic! on ErrorMap::Panic #532

Closed csgui closed 1 month ago

csgui commented 1 month ago

Fix to avoid halt execution when dealing with an ErrorMap::Panic.

Also fix for ErrorMap::BadTypeConstruction.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 85.99%. Comparing base (3dc2f46) to head (d46916f). Report is 5 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #532 +/- ## ========================================== + Coverage 85.96% 85.99% +0.03% ========================================== Files 45 45 Lines 20924 20960 +36 Branches 20924 20960 +36 ========================================== + Hits 17987 18025 +38 + Misses 1388 1386 -2 Partials 1549 1549 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.