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

feat(solc): improve error diagnostic #2280

Merged
merged 1 commit into from Mar 19, 2023

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented Mar 19, 2023

Motivation

Closes foundry-rs/foundry#4594

checks if the file's version is valid

cc @aathan

Solution

add check that the requirement is satisfied by at least one known version

PR Checklist

  • Added Tests
  • Added Documentation
  • Updated the changelog
  • Breaking changes

@mattsse
Copy link
Collaborator Author

mattsse commented Mar 19, 2023

clippy false positive

@gakonst gakonst merged commit 279280c into gakonst:master Mar 19, 2023
13 of 16 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.

ethers_solc::resolver gives misleading error message when referencing unavailable solc version
2 participants