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
Found by @edgarsvitolins, the following program crashes Nagini (by crashing Viper):
from nagini_contracts.contracts import * class Grandparent: def __init__(self) -> None: self.x = 1 Ensures(Acc(self.x)) Ensures(self.x == 1) class Parent(Grandparent): def __init__(self) -> None: super().__init__() Ensures(Acc(self.x)) Ensures(self.x == 1) class Child(Parent): def __init__(self) -> None: super().__init__() Ensures(Acc(self.x)) Ensures(self.x == 1) def main() -> None: c = Child() Assert(c.x == 1) if __name__ == "__main__": main()
The text was updated successfully, but these errors were encountered:
Fixing #176
9d8f182
Merge pull request #177 from marcoeilers/fix_176
2a6471a
No branches or pull requests
Found by @edgarsvitolins, the following program crashes Nagini (by crashing Viper):
The text was updated successfully, but these errors were encountered: