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

fix: rust keyword conflict #405

Merged
merged 10 commits into from
Nov 17, 2023
Merged

fix: rust keyword conflict #405

merged 10 commits into from
Nov 17, 2023

Conversation

Will-Smith11
Copy link
Contributor

@Will-Smith11 Will-Smith11 commented Nov 6, 2023

Motivation

Fixes #343

Solution

Take all unique rust keywords and enforce them to be RawIdents in SolIdent

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@Will-Smith11 Will-Smith11 marked this pull request as ready for review November 6, 2023 18:50
crates/sol-type-parser/src/ident.rs Outdated Show resolved Hide resolved
crates/json-abi/tests/abi/ZeroxExchangeProxy.json Outdated Show resolved Hide resolved
crates/syn-solidity/src/ident/mod.rs Outdated Show resolved Hide resolved
@Will-Smith11
Copy link
Contributor Author

@DaniPopes Not sure why the CI is failing, everything on my local is working when i run the same commands. Any idea?

@DaniPopes
Copy link
Member

You have to rebase to main. Tests run on merge with main, not on the latest commit

@DaniPopes DaniPopes merged commit 9da1e2e into alloy-rs:main Nov 17, 2023
20 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.

[Bug] sol macro doesn't handle solidity idents that are rust keywords
2 participants