Skip to content
New issue

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

Assertion Violation due to Super #233

Open
stephensj2 opened this issue Jan 24, 2020 · 0 comments
Open

Assertion Violation due to Super #233

stephensj2 opened this issue Jan 24, 2020 · 0 comments
Labels
duplicate This issue or pull request already exists

Comments

@stephensj2
Copy link
Collaborator

As mentioned by #227 super is not supported by VeriSol. However, there is no indication of this when super is used inside the solidity code. Instead an assertion is violated and the following message is printed:

Assertion Failed at SolToBoogie.TranslatorContext.GetASTNodeById(Int32 id) in TranslatorContext.cs:line 143

This error message makes it difficult to understand why the translation failed as it does not mention where in the file the translation error occurred. It would therefore be helpful if this behavior was either explicitly disallowed (similar to low-level calls), or supported by VeriSol.

A simple test case that violates this assertion is provided below.

inheritanceBug.txt

@shuvendu-lahiri shuvendu-lahiri added the duplicate This issue or pull request already exists label Apr 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants