epfl-lara / stainless

Verification framework and tool for higher-order Scala programs
https://epfl-lara.github.io/stainless/
Apache License 2.0
349 stars 49 forks source link

Fix `EffectsAnalyzer` missing effects on arguments #1491

Closed mario-bucev closed 7 months ago

mario-bucev commented 7 months ago

@pure annotated functions were having their arguments exempt from effects analysis, which caused a crash on the two provided test cases.