hyperledger-solang / solang

Solidity Compiler for Solana and Polkadot
https://solang.readthedocs.io/
Apache License 2.0
1.26k stars 210 forks source link

Move LoopScopes into ExprContext #1596

Closed seanyoung closed 10 months ago

seanyoung commented 10 months ago

This simplifies the code, and makes it to use ExprContext for other purposes (for example variable scoping).

codecov[bot] commented 10 months ago

Codecov Report

Attention: 49 lines in your changes are missing coverage. Please review.

Comparison is base (8c4111b) 87.74% compared to head (8190ca8) 87.89%. Report is 1 commits behind head on main.

Files Patch % Lines
solang-parser/src/helpers/fmt.rs 20.83% 38 Missing :warning:
solang-parser/src/pt.rs 0.00% 6 Missing :warning:
src/sema/ast.rs 78.57% 3 Missing :warning:
src/sema/dotgraphviz.rs 98.71% 1 Missing :warning:
src/sema/mod.rs 98.93% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1596 +/- ## ========================================== + Coverage 87.74% 87.89% +0.15% ========================================== Files 133 133 Lines 64419 64560 +141 ========================================== + Hits 56524 56746 +222 + Misses 7895 7814 -81 ```

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

seanyoung commented 10 months ago

Merging for #1560