-
Notifications
You must be signed in to change notification settings - Fork 388
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(gnolang): add support for octals without 'o' (eg. 0755
)
#1331
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1331 +/- ##
==========================================
+ Coverage 55.98% 56.48% +0.49%
==========================================
Files 420 423 +3
Lines 65443 66738 +1295
==========================================
+ Hits 36640 37698 +1058
- Misses 25940 26142 +202
- Partials 2863 2898 +35 ☔ View full report in Codecov by Sentry. |
0755
)
✅ Deploy Preview for gno-docs2 canceled.
|
@thehowl It seems I'm ready to go. I've changed the previous test to run directly on the |
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.
LGTM after moving to table test!
On a second thought, please also make sure to add a couple of test to gnovm/tests/files/, on top of the one you already did. |
I modified them to handle negative expressions (e.g., |
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.
TY!
…ng#1331) Updated the condition in `doOpEval` to detect octal literals that start with a '0' followed by octal digits (0-7) related with: gnolang#1322
Updated the condition in
doOpEval
to detect octal literals that start with a '0' followed by octal digits (0-7)related with: #1322