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

moonbitlang / core / 8293
87%

Build:
DEFAULT BRANCH: main
Ran 14 Nov 2026 05:52AM UTC
Jobs 1
Files 695
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

14 Nov 2026 05:51AM UTC coverage: 88.246% (+0.002%) from 88.244%
8293

push

github

bobzhang
fix(json): reject non-integral numbers in Int/UInt FromJson

`Int` and `UInt` FromJson truncated `1.5` to `1` and turned NaN into `0`.
They now raise "expected integer" for any number that is not a whole
number; integral forms such as `2.0`, `1e3` and `-0` still decode.

`Int64`/`UInt64` FromJson stay strict (strings only, matching ToJson), but
the error now says what to send and why: `expected a string such as "5"
(Int64 is encoded as a string to avoid precision loss)`.

Part of #4612 (P2-21).

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

25669 of 29088 relevant lines covered (88.25%)

440484.62 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8293.1 14 Nov 2026 05:53AM UTC 695
88.25
GitHub Action Run
Source Files on build 8293
  • Tree
  • List 695
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 3fda3039 on github
  • Prev Build on main (#8290)
  • Next Build on main (#8296)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc