-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: use a separate ContractExpressionTransformer for each kind of co…
…ntract This should fix a bug where previously Ensures and ThrowEnsures annotations would share a same old ID counter, leading to crashes at instrumentation time if old() was used in both kinds of contracts.
- Loading branch information
1 parent
4737bbb
commit c2070fe
Showing
2 changed files
with
16 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters