foundry-rs / starknet-foundry

Blazing fast toolkit for developing Starknet contracts.
https://foundry-rs.github.io/starknet-foundry/
MIT License
307 stars 150 forks source link

Add tests for mappings in the compiler #2157

Closed piotmag769 closed 4 months ago

piotmag769 commented 4 months ago

Which components does the task require to be changed? (think hard pls)

cairo-profiler

Description

Currently untested, we should check if https://github.com/starkware-libs/cairo/blob/main/crates/cairo-lang-sierra-generator/src/statements_locations.rs#L23 doesn't produce None in any conditions