Skip to content

Comments

Add support for hex literals#190

Draft
heshanpadmasiri wants to merge 3 commits intoballerina-platform:mainfrom
heshanpadmasiri:feat/hex-int-literal
Draft

Add support for hex literals#190
heshanpadmasiri wants to merge 3 commits intoballerina-platform:mainfrom
heshanpadmasiri:feat/hex-int-literal

Conversation

@heshanpadmasiri
Copy link
Member

Purpose

Resolves #97

@heshanpadmasiri heshanpadmasiri added this to the M6 milestone Feb 23, 2026
@coderabbitai
Copy link

coderabbitai bot commented Feb 23, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov
Copy link

codecov bot commented Feb 23, 2026

Codecov Report

❌ Patch coverage is 80.00000% with 17 lines in your changes missing coverage. Please review.
✅ Project coverage is 29.40%. Comparing base (0424063) to head (120c47b).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
semantics/type_resolver.go 72.22% 8 Missing and 2 partials ⚠️
ast/node_builder.go 55.55% 2 Missing and 2 partials ⚠️
lib/int/runtime/int.go 88.23% 1 Missing and 1 partial ⚠️
ast/types.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #190      +/-   ##
==========================================
+ Coverage   27.99%   29.40%   +1.40%     
==========================================
  Files         254      255       +1     
  Lines       53865    54307     +442     
==========================================
+ Hits        15082    15970     +888     
+ Misses      37855    37357     -498     
- Partials      928      980      +52     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

If it can't be parsed as a int we should fallback to f64
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.

Add support for hex int literals

1 participant