johnynek / bosatsu

A python-ish pure and total functional programming language
Apache License 2.0
224 stars 11 forks source link

Fix bug in python if/else chains #1183

Closed johnynek closed 6 months ago

johnynek commented 6 months ago

close #1181

This bug has been lurking in python code generation for some time, but only with generative testing did we push hard enough to find it.

codecov-commenter commented 6 months ago

Codecov Report

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

Project coverage is 91.68%. Comparing base (04a0e87) to head (0c0d723). Report is 15 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1183 +/- ## ========================================== + Coverage 91.32% 91.68% +0.36% ========================================== Files 96 96 Lines 11846 12011 +165 Branches 2675 2819 +144 ========================================== + Hits 10818 11012 +194 + Misses 1028 999 -29 ```

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