-
Notifications
You must be signed in to change notification settings - Fork 399
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(gnovm): use strconv.UnquoteChar to parse rune literals #3296
Conversation
I'm a bot that assists the Gno Core team in maintaining this repository. My role is to ensure that contributors understand and follow our guidelines, helping to streamline the development process. The following requirements must be fulfilled before a pull request can be merged. These requirements are defined in this configuration file. Automated Checks🟢 Maintainers must be able to edit this pull request (more info) Manual ChecksNo manual checks match this pull request. Debug
|
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
- [X] `encoding` - [X] `encoding/base32` - [X] `encoding/binary` - [X] `encoding/csv` : Due to the `reflect` does not implemented yet, skipped `fuzz` --- 1. `encoding/asn1`: better after `reflection` related to: - gnoswap-labs#7 - #1267 depends-on: - #3296 - #3298 --------- Co-authored-by: Morgan Bazalgette <[email protected]> Co-authored-by: ltzmaxwell <[email protected]>
…g#1290) - [X] `encoding` - [X] `encoding/base32` - [X] `encoding/binary` - [X] `encoding/csv` : Due to the `reflect` does not implemented yet, skipped `fuzz` --- 1. `encoding/asn1`: better after `reflection` related to: - gnoswap-labs#7 - gnolang#1267 depends-on: - gnolang#3296 - gnolang#3298 --------- Co-authored-by: Morgan Bazalgette <[email protected]> Co-authored-by: ltzmaxwell <[email protected]>
This fixes a bug, as shown in rune3.gno, whereby rune literals which would not be parsed correctly by `strconv.Unquote` are now parsed correctly. Previously, the test would print out 65533, for the unicode invalid code point.
- [X] `encoding` - [X] `encoding/base32` - [X] `encoding/binary` - [X] `encoding/csv` : Due to the `reflect` does not implemented yet, skipped `fuzz` --- 1. `encoding/asn1`: better after `reflection` related to: - gnoswap-labs#7 - #1267 depends-on: - #3296 - #3298 --------- Co-authored-by: Morgan Bazalgette <[email protected]> Co-authored-by: ltzmaxwell <[email protected]>
This fixes a bug, as shown in rune3.gno, whereby rune literals which would not be parsed correctly by
strconv.Unquote
are now parsed correctly. Previously, the test would print out 65533, for the unicode invalid code point.