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

[SMTChecker] Using solUnimplementedAssert instead of solAssert #3922

Merged
merged 1 commit into from
Apr 18, 2018

Conversation

leonardoalt
Copy link
Member

Fixes #3227

@@ -39,7 +39,7 @@ SSAVariable::SSAVariable(
m_symbolicVar = make_shared<SymbolicBoolVariable>(_decl, _interface);
else
{
solAssert(false, "");
solUnimplementedAssert(false, "Type not supported");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have other possible types here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hopefully in the future :p

@axic
Copy link
Member

axic commented Apr 18, 2018

I think the assertions in SMTChecker.cpp are good to be changed, since they handle the translation from Solidity and show what feature is missing.

However in the internal parts it must only be using unimplmented if it is supported by certain parts of the code, while others don't support it yet and will be implemented. If it is for a future type (sort) which we don't even have yet it should remain a regular assertion.

@leonardoalt
Copy link
Member Author

Right, makes sense

@leonardoalt leonardoalt force-pushed the smt_sol_unimplementedassert branch from c6e3581 to 78ba346 Compare April 18, 2018 11:18
@axic axic merged commit 377254d into develop Apr 18, 2018
@axic axic deleted the smt_sol_unimplementedassert branch April 18, 2018 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants