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

moonbitlang / core / 4045
94%

Build:
DEFAULT BRANCH: main
Ran 28 Apr 2026 01:00AM UTC
Jobs 1
Files 362
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

28 Apr 2026 12:59AM UTC coverage: 94.812% (-0.005%) from 94.817%
4045

push

github

bobzhang
refactor(builtin): share Int/Int64/Double until via a private helper

Extract the three near-identical loop bodies of `Int::until`,
`Int64::until`, and `Double::until` into a single private generic
`until_impl[T : Add + Compare + Default]` in `builtin/range.mbt`. The
three public functions become one-line delegates.

Public mbti is unchanged — no new traits, no new functions exported.
Semantics are byte-for-byte identical, including the existing
overflow handling for `(MAX_VALUE - 1).until(MAX_VALUE, inclusive=true)`
on `Int` and `Int64` (covered by `builtin/iter_test.mbt:421-438`).

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

12 of 12 new or added lines in 2 files covered. (100.0%)

14766 of 15574 relevant lines covered (94.81%)

220329.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4045.1 28 Apr 2026 01:00AM UTC 363
94.82
GitHub Action Run
Source Files on build 4045
  • Tree
  • List 362
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a3ddbe3b on github
  • Prev Build on main (#4043)
  • Next Build on main (#4052)
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