We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gobra verifies ghost if-else blocks that assign to non-ghost variables. An example that verifies:
func foo() int { ghost bar := true var baz int ghost if bar { baz = 1 } else { baz = 0 } return baz }
Configuration: Gobra: 63ea747 silver: 7228e7144d41c91f02a70a68a93b6b3efae57d14 silicon: 22551b40509c381991a493da0108ea4c97fd602d carbon: 4393d154a5ae24d994a0c2c578374bdd49c3a3b3 viperserver: 5907ce1744501b7949d25cc0d5356145431ab6f7
The text was updated successfully, but these errors were encountered:
adds a testcase for issue #420
cb97e6c
ArquintL
Successfully merging a pull request may close this issue.
Gobra verifies ghost if-else blocks that assign to non-ghost variables.
An example that verifies:
Configuration:
Gobra: 63ea747
silver: 7228e7144d41c91f02a70a68a93b6b3efae57d14
silicon: 22551b40509c381991a493da0108ea4c97fd602d
carbon: 4393d154a5ae24d994a0c2c578374bdd49c3a3b3
viperserver: 5907ce1744501b7949d25cc0d5356145431ab6f7
The text was updated successfully, but these errors were encountered: