JSAbrahams / mamba

🐍 The Mamba programming language, because we care about safety
MIT License
88 stars 4 forks source link

Also propagate return to match arms #363

Closed JSAbrahams closed 1 year ago

JSAbrahams commented 1 year ago

Relevant issues

Resolves #164

Summary

Similar to #360 , but now in addition to if-else, we also propagate returns to match arms.

Added Tests

codecov[bot] commented 1 year ago

Codecov Report

Merging #363 (3bcd9d1) into develop (77d41d2) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #363   +/-   ##
========================================
  Coverage    86.98%   86.99%           
========================================
  Files          108      108           
  Lines        11727    11727           
========================================
+ Hits         10201    10202    +1     
+ Misses        1526     1525    -1