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: regexType should have an ending $ #3728

Closed
wants to merge 1 commit into from
Closed

Conversation

zfy0701
Copy link

@zfy0701 zfy0701 commented Feb 3, 2023

No description provided.

@ricmoo
Copy link
Member

ricmoo commented Feb 3, 2023

Great catch! Thanks!

@ricmoo ricmoo added bug Verified to be an issue. on-deck This Enhancement or Bug is currently being worked on. v6 Issues regarding v6 labels Feb 3, 2023
@zfy0701
Copy link
Author

zfy0701 commented Feb 3, 2023

without this, code like this will fail
contract['interestApr()']

because
FunctionFragment.from("interestApr()")
fail due to lexer error (treat it as type instead of ID)

@ricmoo
Copy link
Member

ricmoo commented Feb 3, 2023

Yeah. I’ll get a patch release asap.

@ricmoo
Copy link
Member

ricmoo commented Feb 4, 2023

Merged!

Thanks a lot! And extra thanks for identifying the cause. :)

@ricmoo ricmoo added fixed/complete This Bug is fixed or Enhancement is complete and published. and removed on-deck This Enhancement or Bug is currently being worked on. labels Feb 23, 2023
Woodpile37 pushed a commit to Woodpile37/ethers.js that referenced this pull request Jan 14, 2024
Woodpile37 pushed a commit to Woodpile37/ethers.js that referenced this pull request Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Verified to be an issue. fixed/complete This Bug is fixed or Enhancement is complete and published. v6 Issues regarding v6
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants