epfl-lara / stainless

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

Fix ghost rewriting phase #1443

Closed mario-bucev closed 10 months ago

mario-bucev commented 10 months ago

For the Scala 2 fronted, the ghost function used to generate invalid bytecode, so calls to this function are now explicitly removed. This problem does not apply to the Scala 3 frontend, but calls to ghost are also removed for symmetry.