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

disabling custom errors for <0.8.4 backport #142

Merged
merged 4 commits into from
Mar 27, 2024

Conversation

juanpcapurro
Copy link
Contributor

@juanpcapurro juanpcapurro commented Mar 27, 2024

this closes #141

backports work done on protofire/solhint#555 and protofire/solhint#507 by @dbale-altoros

and fix(notreally,onlyonthisrepo)es protofire/solhint#570

- allow passing a contract version to the contract builders
- modify an existing testcase that was passing two parameters to
  `funcWith`
this, like many other rules, assumes the same rule visitor is not used
for two source files. If that were the case, then visiting an AST with
<0.8.4 and then another with no pragma directive would yield false
negatives.
@juanpcapurro juanpcapurro merged commit 92c57b3 into master Mar 27, 2024
9 checks passed
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.

disable custom-errors for compiler versions where they are not available
1 participant