risor-io / risor

Fast and flexible scripting for Go developers and DevOps.
https://risor.io
Apache License 2.0
576 stars 24 forks source link

fix: 211 bug panic inside range #213

Closed myzie closed 3 months ago

myzie commented 3 months ago

Needed to pop expression values from the stack when compiling functions. This often didn't have much effect, but was exposed as a problem in some specific situations.

codecov[bot] commented 3 months ago

Codecov Report

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

Project coverage is 31.52%. Comparing base (19c0a06) to head (90076a9). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #213 +/- ## ========================================== + Coverage 31.47% 31.52% +0.05% ========================================== Files 121 121 Lines 15103 15107 +4 ========================================== + Hits 4753 4763 +10 + Misses 9761 9753 -8 - Partials 589 591 +2 ```

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