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

Handle parameter assignments in Solidity #209

Open
ellab123 opened this issue Oct 14, 2019 · 0 comments
Open

Handle parameter assignments in Solidity #209

ellab123 opened this issue Oct 14, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@ellab123
Copy link
Collaborator

In Solidity, assignments to (non-default) function arguments are allowed. However, corral reports typechecking error in __SolToBoogieTest_out.bpl:
"command assigns to an immutable variable".

To repro, run test regressions\FunctionArgAssigned.sol.

Fix needed in SolToBoogie (temps for function arguments?).

@shuvendu-lahiri shuvendu-lahiri changed the title Error in corral for generated boogie program when .sol has assignments to function arguments Handle parameter assignments in Solidity Oct 14, 2019
@shuvendu-lahiri shuvendu-lahiri added the bug Something isn't working label Oct 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants