JSAbrahams / mamba

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

Don't generate access for equality check #399

Closed JSAbrahams closed 1 year ago

JSAbrahams commented 1 year ago

Summary

Also inherit constraints when entering class. Useful if you have defined variables you use within the class outside the class.

Added Tests

codecov[bot] commented 1 year ago

Codecov Report

Merging #399 (ce00cb5) into v-0-3-5 (3529567) will decrease coverage by 0.01%. The diff coverage is 85.00%.

:exclamation: Current head ce00cb5 differs from pull request most recent head 9403e8d. Consider uploading reports for the commit 9403e8d to get more accurate results

@@             Coverage Diff             @@
##           v-0-3-5     #399      +/-   ##
===========================================
- Coverage    87.42%   87.41%   -0.02%     
===========================================
  Files          109      109              
  Lines        12034    12035       +1     
===========================================
- Hits         10521    10520       -1     
- Misses        1513     1515       +2     
Impacted Files Coverage Δ
src/check/constrain/generate/operation.rs 91.37% <84.21%> (-0.40%) :arrow_down:
src/check/constrain/constraint/builder.rs 89.09% <100.00%> (-1.82%) :arrow_down: