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

Add detection of variables in builtin calls and function calls with gas and value #434

Merged
merged 1 commit into from
Jul 13, 2021

Conversation

LucasSte
Copy link
Contributor

This PR adds the detection of used variables in builtin calls (like transfer and send) and function calls with gas and value.
These cases were not covered in the original PR that implements unused variable detection, thus Solang are detecting variables used in such cases as unused.

@LucasSte LucasSte requested a review from seanyoung as a code owner July 12, 2021 21:45
@LucasSte LucasSte force-pushed the unused-variable-call-function branch from e457083 to e5201a6 Compare July 12, 2021 21:46
@seanyoung seanyoung merged commit 0c86955 into hyperledger:main Jul 13, 2021
@LucasSte LucasSte deleted the unused-variable-call-function branch July 15, 2021 17:10
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.

2 participants