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 `ImperativeCleanup` cleaning too much #1500

Closed mario-bucev closed 4 months ago

mario-bucev commented 5 months ago

In some cases, ImperativeCleanup would eliminate unused bindings even though it should not (causing unsoundness as in the test case TupleCleanup).