• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

moonbitlang / core / 4749
91%

Build:
DEFAULT BRANCH: main
Ran 26 Jun 2026 07:45AM UTC
Jobs 1
Files 379
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Jun 2026 07:43AM UTC coverage: 90.953% (-0.002%) from 90.955%
4749

push

github

bobzhang
refactor(json): rewrite lex_hex_digits with char-range patterns

Replace the case-folding bit trick (`c & ~32`) plus bound check with
direct char-range match arms ('0'..='9', 'A'..='F', 'a'..='f'). The
validity check is now the pattern itself rather than a numeric range on
the folded value, the `(32).lnot()` magic constant is gone, and the
redundant `.to_int()` on char literals is dropped (they overload to Int
in the arithmetic context).

Pure refactor on top of the backtick fix (#3704): no behavior change,
and the regression tests merged with that fix still pass. The rewrite
also makes the backtick-as-hex-digit bug structurally impossible, since
there is no longer a folding step that can map '`' (0x60) onto '@'
(0x40).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

5 of 5 new or added lines in 1 file covered. (100.0%)

15151 of 16658 relevant lines covered (90.95%)

197413.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4749.1 26 Jun 2026 07:45AM UTC 380
90.97
GitHub Action Run
Source Files on build 4749
  • Tree
  • List 379
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8b2275d2 on github
  • Prev Build on main (#4746)
  • Next Build on main (#4751)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc